From 0d5ee3367a396404ed83f5ad18e993a92dd2ab93 Mon Sep 17 00:00:00 2001 From: jgo121 Date: Sat, 27 Jul 2024 00:04:50 +0800 Subject: [PATCH 1/2] signerData missing fields --- app/ante/sigverify.go | 3 +++ x/gov/types/codec.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/ante/sigverify.go b/app/ante/sigverify.go index 6fde379a..d547d213 100644 --- a/app/ante/sigverify.go +++ b/app/ante/sigverify.go @@ -218,10 +218,13 @@ func (svd SigVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simul if !genesis { accNum = acc.GetAccountNumber() } + signerData := authsigning.SignerData{ + Address: acc.GetAddress().String(), ChainID: chainID, AccountNumber: accNum, Sequence: acc.GetSequence(), + PubKey: pubKey, } if !simulate { diff --git a/x/gov/types/codec.go b/x/gov/types/codec.go index 9b8575c1..1b4b7480 100644 --- a/x/gov/types/codec.go +++ b/x/gov/types/codec.go @@ -35,7 +35,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) { "description": "maximum transaction fee" }, "vote_quorum": { - "type": "uint64", + "type": "decimal", "description": "vote quorum" }, "proposal_end_time": { From 7b76e335011dc5c6fbf31e819abadf4324548d83 Mon Sep 17 00:00:00 2001 From: jgo121 Date: Sat, 27 Jul 2024 00:07:42 +0800 Subject: [PATCH 2/2] release new version --- RELEASE.md | 4 +--- types/constants.go | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 0e89807a..14ddf3b3 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,3 @@ Features: -- Tokens module refactoring (#664) -- Layer2 improvement (#668) -- Fix storeKeys for layer2 and recovery modules +- Fix legacy tx signing diff --git a/types/constants.go b/types/constants.go index 9adeb98b..e8708733 100644 --- a/types/constants.go +++ b/types/constants.go @@ -3,6 +3,6 @@ package types const ( // we set page iteration limit for safety PageIterationLimit = 512 - SekaiVersion = "v0.4.0" + SekaiVersion = "v0.4.1" CosmosVersion = "v0.47.6" )