Skip to content

Commit d1d6c6e

Browse files
committed
fix test
1 parent 74ef4c9 commit d1d6c6e

File tree

6 files changed

+11
-15
lines changed

6 files changed

+11
-15
lines changed

app/app.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ func New(
578578
app.StakingKeeper,
579579
authtypes.FeeCollectorName,
580580
authAddr,
581-
distrkeeper.WithExternalCommunityPool(app.PoolKeeper),
582581
)
583582
app.SlashingKeeper = slashingkeeper.NewKeeper(
584583
appCodec,
@@ -1157,9 +1156,9 @@ func (app *App) setAnteHandler(txConfig client.TxConfig, maxGasWanted uint64, bl
11571156
DynamicFeeChecker: true,
11581157
DisabledAuthzMsgs: []string{
11591158
sdk.MsgTypeURL(&evmtypes.MsgEthereumTx{}),
1160-
sdk.MsgTypeURL(&vestingtypes.BaseVestingAccount{}),
1161-
sdk.MsgTypeURL(&vestingtypes.PermanentLockedAccount{}),
1162-
sdk.MsgTypeURL(&vestingtypes.PeriodicVestingAccount{}),
1159+
sdk.MsgTypeURL(&vestingtypes.MsgCreateVestingAccount{}),
1160+
sdk.MsgTypeURL(&vestingtypes.MsgCreatePermanentLockedAccount{}),
1161+
sdk.MsgTypeURL(&vestingtypes.MsgCreatePeriodicVestingAccount{}),
11631162
},
11641163
ExtraDecorators: []sdk.AnteDecorator{blockAddressDecorator},
11651164
PendingTxListener: app.onPendingTx,

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ replace (
287287
github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2
288288
github.com/ethereum/go-ethereum => github.com/crypto-org-chain/go-ethereum v1.10.20-0.20240926023215-d2275b4afb9a
289289
// release/v1.4.x-2
290-
github.com/evmos/ethermint => github.com/mmsqe/ethermint v0.6.5-0.20250502030205-93943204298e
290+
github.com/evmos/ethermint => github.com/mmsqe/ethermint v0.6.5-0.20250502043624-645d260bdeb2
291291
// Fix upstream GHSA-h395-qcrw-5vmq and GHSA-3vp4-m3rf-835h vulnerabilities.
292292
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409
293293
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,8 +1426,8 @@ github.com/mmsqe/cosmos-sdk/store v0.0.0-20250502025930-9ee27ce5d100 h1:yKjaEJKZ
14261426
github.com/mmsqe/cosmos-sdk/store v0.0.0-20250502025930-9ee27ce5d100/go.mod h1:TacI0IxVlkZr3D3J1WbDWzmBzKxD/svUDoLZkMt5v10=
14271427
github.com/mmsqe/cosmos-sdk/x/tx v0.0.0-20250502025930-9ee27ce5d100 h1:eRlHILTeYy+xY5+bEV9LkshALh4uveNO1PJkTjRjEPM=
14281428
github.com/mmsqe/cosmos-sdk/x/tx v0.0.0-20250502025930-9ee27ce5d100/go.mod h1:Tn30rSRA1PRfdGB3Yz55W4Sn6EIutr9xtMKSHij+9PM=
1429-
github.com/mmsqe/ethermint v0.6.5-0.20250502030205-93943204298e h1:XT9aQ7wer51bmAmLiEPNAsgR+L7ZA+zM++1yekU5WNQ=
1430-
github.com/mmsqe/ethermint v0.6.5-0.20250502030205-93943204298e/go.mod h1:zmypQ6aq5Vf7mVxbOVHusn8ZhjB5MgsY6UFPC+5BWII=
1429+
github.com/mmsqe/ethermint v0.6.5-0.20250502043624-645d260bdeb2 h1:434j7rm1cIcq6Hgm8qv6ah9b6iaFpKvW4XtNaC1kDnc=
1430+
github.com/mmsqe/ethermint v0.6.5-0.20250502043624-645d260bdeb2/go.mod h1:zmypQ6aq5Vf7mVxbOVHusn8ZhjB5MgsY6UFPC+5BWII=
14311431
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
14321432
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
14331433
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=

gomod2nix.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ schema = 3
291291
hash = "sha256-ozwVS2BhAoz+OOisAyMhgg+lq8FdQjf90xoOq9cxtGw="
292292
replaced = "github.com/crypto-org-chain/go-ethereum"
293293
[mod."github.com/evmos/ethermint"]
294-
version = "v0.6.5-0.20250502030205-93943204298e"
295-
hash = "sha256-/d7VadL0qUNNqJFpcmG80ZPV5zwEvRfvsxXRrrf5PXQ="
294+
version = "v0.6.5-0.20250502043624-645d260bdeb2"
295+
hash = "sha256-jXT8faGcciJC/uCRMxTJH5C3dXhO4Ik7hDROre2bC4I="
296296
replaced = "github.com/mmsqe/ethermint"
297297
[mod."github.com/fatih/color"]
298298
version = "v1.18.0"

integration_tests/cosmoscli.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,11 +1598,10 @@ def query_gravity_contract_by_denom(self, denom: str):
15981598

15991599
def create_vesting_account(self, to_address, amount, end_time, **kwargs):
16001600
"create vesting account"
1601+
kwargs.setdefault("gas_prices", DEFAULT_GAS_PRICE)
1602+
kwargs.setdefault("gas", DEFAULT_GAS)
16011603
default_kwargs = {
16021604
"home": self.data_dir,
1603-
"node": self.node_rpc,
1604-
"chain_id": self.chain_id,
1605-
"keyring_backend": "test",
16061605
}
16071606
rsp = json.loads(
16081607
self.raw(

integration_tests/test_vesting.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ def test_create_account(cronos):
1212
balance = cli.balance(addr, denom)
1313
assert balance == 0
1414
amount = 10000
15-
fee = 4000000000000000
1615
amt = f"{amount}{denom}"
1716
end_time = int(time.time()) + 3000
18-
fees = f"{fee}{denom}"
19-
res = cli.create_vesting_account(addr, amt, end_time, from_="validator", fees=fees)
17+
res = cli.create_vesting_account(addr, amt, end_time, from_="validator")
2018
assert res["code"] != 0
2119
assert "vesting messages are not supported" in res["raw_log"]

0 commit comments

Comments
 (0)