diff --git a/.tool-versions b/.tool-versions index 0718df60..e761a701 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ -nodejs 14.20.0 +nodejs 16.20.0 yarn 1.22.10 golang 1.18 diff --git a/contracts_migrate/new/neutron_lockdrop.wasm b/contracts_migrate/new/neutron_lockdrop.wasm index bb76afbc..dc3add9b 100644 Binary files a/contracts_migrate/new/neutron_lockdrop.wasm and b/contracts_migrate/new/neutron_lockdrop.wasm differ diff --git a/src/testcases/run_in_band/tge.auction_migration.test.ts b/src/testcases/run_in_band/tge.auction_migration.test.ts index cfd09ddf..40c08906 100644 --- a/src/testcases/run_in_band/tge.auction_migration.test.ts +++ b/src/testcases/run_in_band/tge.auction_migration.test.ts @@ -191,7 +191,6 @@ describe('Neutron / TGE / Auction / Lockdrop migration', () => { ); cmStranger = new cosmosWrapper.WalletWrapper( neutronChain, - testState.wallets.qaNeutronFive.genQaWal1, ); const daoCoreAddress = (await neutronChain.getChainAdmins())[0]; @@ -2345,7 +2344,7 @@ describe('Neutron / TGE / Auction / Lockdrop migration', () => { ).rejects.toThrowError(/Slippage tolerance is too high/); }); it('should migrate liquidity', async () => { - const res = await cmInstantiator.executeContract( + const res = await cmStranger.executeContract( tgeMain.contracts.lockdrop, JSON.stringify({ migrate_from_xyk_to_cl: { @@ -2354,7 +2353,8 @@ describe('Neutron / TGE / Auction / Lockdrop migration', () => { }, }, }), - [], + // 100 000 000 max + [{ amount: '30000000', denom: IBC_USDC_DENOM }], // this should create a bug in an old migration version { gas_limit: Long.fromString('8000000'), amount: [{ denom: tgeMain.chain.denom, amount: '20000' }], @@ -2430,6 +2430,7 @@ describe('Neutron / TGE / Auction / Lockdrop migration', () => { const height = +(res.height || 0); heightDiff = height - heightDiff; }); + it('should allow to query total lockup at height', async () => { const res = await cmInstantiator.chain.queryContract( tgeMain.contracts.lockdrop,