diff --git a/docker-compose.yml b/docker-compose.yml index b0f40be85..7c4c7eed6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -127,7 +127,7 @@ services: # ---------- No Subql Realm ---------- # # ------------------------------------ # mandala-node: - image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 + image: ghcr.io/acalanetwork/mandala-node:sha-16f147e ports: - 9944:9944 healthcheck: diff --git a/examples/docker-compose-bodhi-stack.yml b/examples/docker-compose-bodhi-stack.yml index 9db2179f4..a6235e928 100644 --- a/examples/docker-compose-bodhi-stack.yml +++ b/examples/docker-compose-bodhi-stack.yml @@ -1,6 +1,6 @@ services: mandala-node: - image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 + image: ghcr.io/acalanetwork/mandala-node:sha-16f147e container_name: mandala-node ports: - 9944:9944 diff --git a/examples/viem/docker-compose.yml b/examples/viem/docker-compose.yml index edd72e94c..f62358cee 100644 --- a/examples/viem/docker-compose.yml +++ b/examples/viem/docker-compose.yml @@ -1,6 +1,6 @@ services: mandala-node: - image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 + image: ghcr.io/acalanetwork/mandala-node:sha-16f147e container_name: mandala-node ports: - 9944:9944 diff --git a/examples/waffle/evm/test/EVM.test.ts b/examples/waffle/evm/test/EVM.test.ts index 473ca87da..19291fead 100644 --- a/examples/waffle/evm/test/EVM.test.ts +++ b/examples/waffle/evm/test/EVM.test.ts @@ -45,8 +45,6 @@ describe('EVM', () => { expect((await evm.developerDeposit()).toString()).to.equal(formatAmount('1_000_000_000_000_000_000')); expect((await evm.publicationFee()).toString()).to.equal(formatAmount('1_000_000_000_000_000_000')); - - await evmPredeployed.publishContract(evm.address); } else { expect(await evm.newContractExtraBytes()).to.equal(0); diff --git a/examples/waffle/incentives/test/incentives.test.ts b/examples/waffle/incentives/test/incentives.test.ts index ff029bb01..039ae8c1d 100644 --- a/examples/waffle/incentives/test/incentives.test.ts +++ b/examples/waffle/incentives/test/incentives.test.ts @@ -75,7 +75,7 @@ describe('incentives', () => { }); it('incentives getClaimRewardDeductionRate works', async () => { - const Rate = FixedU128.div(BigNumber.from('10')); // 1/10 + const newRate = FixedU128.div(BigNumber.from('10')).toBigInt(); // 1/10 const updateClaimRewardDeductionRates = provider.api.tx.sudo.sudo( provider.api.tx.incentives.updateClaimRewardDeductionRates([ [ @@ -84,13 +84,14 @@ describe('incentives', () => { DexShare: [{ Token: 'ACA' }, { Token: 'AUSD' }] } }, - Rate.toBigInt() + newRate ] ]) ); await send(updateClaimRewardDeductionRates, wallet.substrateAddress); - expect(await incentives.getClaimRewardDeductionRate(1, ADDRESS.LP_ACA_AUSD)).to.equal(Rate); + const curRate = await incentives.getClaimRewardDeductionRate(1, ADDRESS.LP_ACA_AUSD); + expect(curRate.toBigInt()).to.equal(newRate); }); it('incentives getPendingRewards works', async () => { @@ -123,14 +124,14 @@ describe('incentives', () => { { DexShare: [{ Token: 'ACA' }, { Token: 'AUSD' }] }, - 1_000_000_000 + 1_000_000_000_000 ) ); await send(updateBalance, wallet.substrateAddress); - await expect(incentivesPredeployed.depositDexShare(ADDRESS.LP_ACA_AUSD, 1000)) + await expect(incentivesPredeployed.depositDexShare(ADDRESS.LP_ACA_AUSD, 1_000_000_000_000)) .to.emit(incentivesPredeployed, 'DepositedShare') - .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1000); + .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1_000_000_000_000); }); it('incentives withdrawDexShare works', async () => { @@ -140,18 +141,18 @@ describe('incentives', () => { { DexShare: [{ Token: 'ACA' }, { Token: 'AUSD' }] }, - 1_000_000_000 + 1_000_000_000_000 ) ); await send(updateBalance, wallet.substrateAddress); - await expect(incentivesPredeployed.depositDexShare(ADDRESS.LP_ACA_AUSD, 1000)) + await expect(incentivesPredeployed.depositDexShare(ADDRESS.LP_ACA_AUSD, 1_000_000_000_000)) .to.emit(incentivesPredeployed, 'DepositedShare') - .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1000); + .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1_000_000_000_000); - await expect(incentivesPredeployed.withdrawDexShare(ADDRESS.LP_ACA_AUSD, 1000)) + await expect(incentivesPredeployed.withdrawDexShare(ADDRESS.LP_ACA_AUSD, 1_000_000_000_000)) .to.emit(incentivesPredeployed, 'WithdrewShare') - .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1000); + .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1_000_000_000_000); }); it('incentives claimRewards works', async () => { @@ -161,14 +162,14 @@ describe('incentives', () => { { DexShare: [{ Token: 'ACA' }, { Token: 'AUSD' }] }, - 1_000_000_000 + 1_000_000_000_000 ) ); await send(updateBalance, wallet.substrateAddress); - await expect(incentivesPredeployed.depositDexShare(ADDRESS.LP_ACA_AUSD, 1000)) + await expect(incentivesPredeployed.depositDexShare(ADDRESS.LP_ACA_AUSD, 1_000_000_000_000)) .to.emit(incentivesPredeployed, 'DepositedShare') - .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1000); + .withArgs(await wallet.getAddress(), ADDRESS.LP_ACA_AUSD, 1_000_000_000_000); await expect(incentivesPredeployed.claimRewards(1, ADDRESS.LP_ACA_AUSD)) .to.emit(incentivesPredeployed, 'ClaimedRewards') diff --git a/packages/eth-rpc-adapter/README.md b/packages/eth-rpc-adapter/README.md index 16e8975fe..b98643f0f 100644 --- a/packages/eth-rpc-adapter/README.md +++ b/packages/eth-rpc-adapter/README.md @@ -4,7 +4,7 @@ A node service that provides [JSON-RPC](https://eth.wiki/json-rpc/API) for [Acal ## Run First run a Mandala node locally ``` -docker run -it --rm -p 9944:9944 ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 --dev --rpc-external --rpc-cors=all --rpc-methods=unsafe -levm=debug --pruning=archive --instant-sealing +docker run -it --rm -p 9944:9944 ghcr.io/acalanetwork/mandala-node:sha-16f147e --dev --rpc-external --rpc-cors=all --rpc-methods=unsafe -levm=debug --pruning=archive --instant-sealing ``` Then there are 3 ways to run an RPC adapter: diff --git a/packages/eth-rpc-adapter/docker-compose.yml b/packages/eth-rpc-adapter/docker-compose.yml index 5c5434834..8aa8fa853 100644 --- a/packages/eth-rpc-adapter/docker-compose.yml +++ b/packages/eth-rpc-adapter/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: mandala-node: - image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 + image: ghcr.io/acalanetwork/mandala-node:sha-16f147e ports: - 9944:9944 command: diff --git a/packages/eth-rpc-adapter/src/__tests__/e2e/__snapshots__/endpoint.test.ts.snap b/packages/eth-rpc-adapter/src/__tests__/e2e/__snapshots__/endpoint.test.ts.snap index 8c9a566bd..bafb6209a 100644 --- a/packages/eth-rpc-adapter/src/__tests__/e2e/__snapshots__/endpoint.test.ts.snap +++ b/packages/eth-rpc-adapter/src/__tests__/e2e/__snapshots__/endpoint.test.ts.snap @@ -259,8 +259,8 @@ exports[`endpoint > eth_getTransactionByHash > finds correct tx when hash exist { "blockNumber": "0xa", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", - "gas": "0x1fd91", - "gasPrice": "0x25315050b1", + "gas": "0x1fcfa", + "gasPrice": "0x25592c5c5f", "input": "0x3d8d96200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000001", "nonce": "0x6", "r": "0x1b5e176d927f8e9ab405058b2d2457392da3e20f328b16ddabcebc33eaac5fea", @@ -276,8 +276,8 @@ exports[`endpoint > eth_getTransactionByHash > finds correct tx when hash exist { "blockNumber": "0x9", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", - "gas": "0x25a7f", - "gasPrice": "0x22a22ed358", + "gas": "0x25a18", + "gasPrice": "0x22c1d12a54", "input": "0x3d8d962000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000e8d4a510000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000010000000000000000000000000000000000000000000100000000000000000002", "nonce": "0x5", "r": "0x1b5e176d927f8e9ab405058b2d2457392da3e20f328b16ddabcebc33eaac5fea", @@ -293,8 +293,8 @@ exports[`endpoint > eth_getTransactionByHash > finds correct tx when hash exist { "blockNumber": "0x6", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", - "gas": "0x1fdca", - "gasPrice": "0x252f21c079", + "gas": "0x1fd26", + "gasPrice": "0x2557747a01", "input": "0x6fc4b4e50000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000e8d4a510000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000001", "nonce": "0x2", "r": "0x1b5e176d927f8e9ab405058b2d2457392da3e20f328b16ddabcebc33eaac5fea", @@ -311,7 +311,7 @@ exports[`endpoint > eth_getTransactionByHash > finds correct tx when hash exist "blockNumber": "0x14", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", "gas": "0x200b20", - "gasPrice": "0x41d4ad9224", + "gasPrice": "0x419514ca84", "input": "0x", "nonce": "0x10", "r": "0x1b5e176d927f8e9ab405058b2d2457392da3e20f328b16ddabcebc33eaac5fea", @@ -467,9 +467,9 @@ exports[`endpoint > eth_getTransactionReceipt > returns correct result when hash "blockNumber": "0xa", "contractAddress": null, "cumulativeGasUsed": "0x0", - "effectiveGasPrice": "0x25315050b1", + "effectiveGasPrice": "0x25592c5c5f", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", - "gasUsed": "0x1a8a4", + "gasUsed": "0x1a826", "logs": [ { "address": "0x0000000000000000000000000000000000000803", @@ -496,9 +496,9 @@ exports[`endpoint > eth_getTransactionReceipt > returns correct result when hash "blockNumber": "0x9", "contractAddress": null, "cumulativeGasUsed": "0x0", - "effectiveGasPrice": "0x22a22ed358", + "effectiveGasPrice": "0x22c1d12a54", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", - "gasUsed": "0x1f615", + "gasUsed": "0x1f5bf", "logs": [ { "address": "0x0000000000000000000000000000000000000803", @@ -525,9 +525,9 @@ exports[`endpoint > eth_getTransactionReceipt > returns correct result when hash "blockNumber": "0x6", "contractAddress": null, "cumulativeGasUsed": "0x0", - "effectiveGasPrice": "0x252f21c079", + "effectiveGasPrice": "0x2557747a01", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", - "gasUsed": "0x1a8d3", + "gasUsed": "0x1a84b", "logs": [ { "address": "0x0000000000000000000000000000000000000803", @@ -554,7 +554,7 @@ exports[`endpoint > eth_getTransactionReceipt > returns correct result when hash "blockNumber": "0x14", "contractAddress": null, "cumulativeGasUsed": "0x0", - "effectiveGasPrice": "0x41d4ad9224", + "effectiveGasPrice": "0x419514ca84", "from": "0x82a258cb20e2adb4788153cd5eb5839615ece9a0", "gasUsed": "0xcbbd", "logs": [ diff --git a/packages/eth-rpc-adapter/src/__tests__/e2e/endpoint.test.ts b/packages/eth-rpc-adapter/src/__tests__/e2e/endpoint.test.ts index 9c8edeb33..a3f2fd134 100644 --- a/packages/eth-rpc-adapter/src/__tests__/e2e/endpoint.test.ts +++ b/packages/eth-rpc-adapter/src/__tests__/e2e/endpoint.test.ts @@ -1250,7 +1250,7 @@ describe('endpoint', () => { describe('eth_getBalance', () => { it('get correct balance', async () => { - const block8Balance = 8999995192313663934000000n; // edit me for different mandala version + const block8Balance = 8999995192165097994000000n; // edit me for different mandala version expect(BigInt((await eth_getBalance([ADDRESS_ALICE, 8])).data.result)).to.equal(block8Balance); expect(BigInt((await eth_getBalance([ADDRESS_ALICE, '0x8'])).data.result)).to.equal(block8Balance); expect(BigInt((await eth_getBalance([ADDRESS_ALICE, { blockNumber: 8 }])).data.result)).to.equal(block8Balance); diff --git a/packages/evm-subql/README.md b/packages/evm-subql/README.md index 5aec160de..5f7952ed4 100644 --- a/packages/evm-subql/README.md +++ b/packages/evm-subql/README.md @@ -51,7 +51,7 @@ npm i -g @subql/node@3.10.1 @subql/query@2.10.0 If you already have a node running elsewhere, you can skip this step. ```shell -docker run -it --rm -p 9944:9944 ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 --dev --rpc-external --rpc-cors=all --rpc-methods=unsafe -levm=debug --pruning=archive --instant-sealing +docker run -it --rm -p 9944:9944 ghcr.io/acalanetwork/mandala-node:sha-16f147e --dev --rpc-external --rpc-cors=all --rpc-methods=unsafe -levm=debug --pruning=archive --instant-sealing ``` 3. Run a Postgres service and listen to port number 5432 (in the second terminal) diff --git a/packages/evm-subql/docker-compose.yml b/packages/evm-subql/docker-compose.yml index 9b3a4966f..ab20fbdd3 100644 --- a/packages/evm-subql/docker-compose.yml +++ b/packages/evm-subql/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.9' services: mandala-node: - image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 + image: ghcr.io/acalanetwork/mandala-node:sha-16f147e ports: - 9944:9944 healthcheck: diff --git a/packages/evm-subql/project-factory.ts b/packages/evm-subql/project-factory.ts index dae7b1897..a537ba91f 100644 --- a/packages/evm-subql/project-factory.ts +++ b/packages/evm-subql/project-factory.ts @@ -96,7 +96,7 @@ export const PROJECT_PARAMS = { startBlock: 1, }, localMandala: { - chainId: '0x8837eb25f126806eca5012c67621cca1c04fadb6c93b3488e63fe94f872e2387', + chainId: '0xfed39d074b506cd8979ba50d64489dd11226eef1275917de229642edd4cec132', endpoint: ['ws://localhost:9944'], startBlock: 1, }, diff --git a/packages/evm-subql/project.yaml b/packages/evm-subql/project.yaml index 948c0943f..3af5e05da 100644 --- a/packages/evm-subql/project.yaml +++ b/packages/evm-subql/project.yaml @@ -13,7 +13,7 @@ runner: schema: file: ./schema.graphql network: - chainId: '0x8837eb25f126806eca5012c67621cca1c04fadb6c93b3488e63fe94f872e2387' + chainId: '0xfed39d074b506cd8979ba50d64489dd11226eef1275917de229642edd4cec132' endpoint: - ws://localhost:9944 chaintypes: diff --git a/scripts/e2e-tests/configs/acala.yml b/scripts/e2e-tests/configs/acala.yml index 4e492bed3..bab8cbe6f 100644 --- a/scripts/e2e-tests/configs/acala.yml +++ b/scripts/e2e-tests/configs/acala.yml @@ -2,7 +2,7 @@ endpoint: wss://acala-rpc.aca-api.network mock-signature-host: true # block: 2694000 db: ./db.sqlite -wasm-override: ./wasm/acala-2240.wasm +wasm-override: ./wasm/acala-2250.wasm import-storage: Sudo: diff --git a/scripts/e2e-tests/configs/karura.yml b/scripts/e2e-tests/configs/karura.yml index 170e82265..8e9442d7d 100644 --- a/scripts/e2e-tests/configs/karura.yml +++ b/scripts/e2e-tests/configs/karura.yml @@ -2,7 +2,7 @@ endpoint: wss://karura-rpc.aca-api.network mock-signature-host: true # block: 3000000 db: ./db.sqlite -wasm-override: ./wasm/karura-2240.wasm +wasm-override: ./wasm/karura-2250.wasm import-storage: Sudo: diff --git a/scripts/e2e-tests/configs/subql/acala.yaml b/scripts/e2e-tests/configs/subql/acala.yaml index 0f0779fc6..023f8074c 100644 --- a/scripts/e2e-tests/configs/subql/acala.yaml +++ b/scripts/e2e-tests/configs/subql/acala.yaml @@ -1,28 +1,28 @@ +# // Auto-generated , DO NOT EDIT specVersion: 1.0.0 +version: 0.0.1 name: '@acala-network/evm-subql' -version: 1.0.0 +description: subquery for Acala EVM+ runner: node: name: '@subql/node' - version: 1.21.2 + version: '>=3.0.1' query: name: '@subql/query' - version: 1.4.0 -description: 'subquery for Acala EVM+' -repository: 'https://github.com/AcalaNetwork/bodhi.js/tree/master/evm-subql' + version: '*' schema: file: ./schema.graphql network: - # Acala chainId: '0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c' - endpoint: ws://chopsticks:8000 + endpoint: + - ws://chopsticks:8000 chaintypes: file: ./dist/chain-types/index.js dataSources: - kind: substrate/Runtime - startBlock: 5108461 + startBlock: 6134893 mapping: file: ./dist/index.js handlers: - - handler: handleBlock - kind: substrate/BlockHandler + - kind: substrate/BlockHandler + handler: handleBlock diff --git a/scripts/e2e-tests/configs/subql/karura.yaml b/scripts/e2e-tests/configs/subql/karura.yaml index 50e8e7a86..88a6b142d 100644 --- a/scripts/e2e-tests/configs/subql/karura.yaml +++ b/scripts/e2e-tests/configs/subql/karura.yaml @@ -1,28 +1,28 @@ +# // Auto-generated , DO NOT EDIT specVersion: 1.0.0 +version: 0.0.1 name: '@acala-network/evm-subql' -version: 1.0.0 +description: subquery for Acala EVM+ runner: node: name: '@subql/node' - version: 1.21.2 + version: '>=3.0.1' query: name: '@subql/query' - version: 1.4.0 -description: 'subquery for Karura EVM+' -repository: 'https://github.com/AcalaNetwork/bodhi.js/tree/master/evm-subql' + version: '*' schema: file: ./schema.graphql network: - # Karura chainId: '0xbaf5aabe40646d11f0ee8abbdc64f4a4b7674925cba08e4a05ff9ebed6e2126b' - endpoint: ws://chopsticks:8000 + endpoint: + - ws://chopsticks:8000 chaintypes: file: ./dist/chain-types/index.js dataSources: - kind: substrate/Runtime - startBlock: 5853808 + startBlock: 6834574 mapping: file: ./dist/index.js handlers: - - handler: handleBlock - kind: substrate/BlockHandler + - kind: substrate/BlockHandler + handler: handleBlock diff --git a/scripts/e2e-tests/docker-compose-acala.yml b/scripts/e2e-tests/docker-compose-acala.yml index a2a6fbedc..6a9965ef6 100644 --- a/scripts/e2e-tests/docker-compose-acala.yml +++ b/scripts/e2e-tests/docker-compose-acala.yml @@ -2,11 +2,11 @@ version: '3' services: chopsticks: - image: oven/bun + image: oven/bun:1 container_name: chopsticks-node volumes: - ./:/home/bun/app - - ./.bunx-cache:/root/.bun/install/cache + # - ./.bunx-cache:/root/.bun/install/cache command: bunx @acala-network/chopsticks@latest -c ./configs/acala.yml ports: - 8000:8000 @@ -20,7 +20,7 @@ services: POSTGRES_PASSWORD: postgres subquery-node: - image: acala/evm-subql:2.8.1 + image: acala/evm-subql:latest volumes: - ./configs/subql/karura.yaml:/app/karura.yaml - ./configs/subql/acala.yaml:/app/acala.yaml @@ -42,7 +42,7 @@ services: - -f=./acala.yaml - --network-endpoint=ws://chopsticks:8000 - --db-schema=acala_evm - - --log-level=debug + - --log-level=info - --unsafe - --disable-historical @@ -69,7 +69,7 @@ services: - --indexer=http://subquery-node:3000 eth-rpc-adapter: - image: acala/eth-rpc-adapter:2.8.1 + image: acala/eth-rpc-adapter:latest environment: - SUBQL_URL=http://graphql-engine:3001 - ENDPOINT_URL=ws://chopsticks:8000 diff --git a/scripts/e2e-tests/docker-compose-karura.yml b/scripts/e2e-tests/docker-compose-karura.yml index 3ecce069a..d2d2d2d46 100644 --- a/scripts/e2e-tests/docker-compose-karura.yml +++ b/scripts/e2e-tests/docker-compose-karura.yml @@ -2,11 +2,11 @@ version: '3' services: chopsticks: - image: oven/bun + image: oven/bun:1 container_name: chopsticks-node volumes: - ./:/home/bun/app - - ./.bunx-cache:/root/.bun/install/cache + # - ./.bunx-cache:/root/.bun/install/cache command: bunx @acala-network/chopsticks@latest -c ./configs/karura.yml ports: - 8000:8000 @@ -20,7 +20,7 @@ services: POSTGRES_PASSWORD: postgres subquery-node: - image: acala/evm-subql:2.8.1 + image: acala/evm-subql:latest volumes: - ./configs/subql/karura.yaml:/app/karura.yaml - ./configs/subql/acala.yaml:/app/acala.yaml @@ -42,7 +42,7 @@ services: - -f=./karura.yaml - --network-endpoint=ws://chopsticks:8000 - --db-schema=acala_evm - - --log-level=debug + - --log-level=info - --unsafe - --disable-historical @@ -69,7 +69,7 @@ services: - --indexer=http://subquery-node:3000 eth-rpc-adapter: - image: acala/eth-rpc-adapter:2.8.1 + image: acala/eth-rpc-adapter:latest environment: - SUBQL_URL=http://graphql-engine:3001 - ENDPOINT_URL=ws://chopsticks:8000 diff --git a/scripts/e2e-tests/docker-compose-subway.yml b/scripts/e2e-tests/docker-compose-subway.yml index 636e5041e..4d9d8c2cc 100644 --- a/scripts/e2e-tests/docker-compose-subway.yml +++ b/scripts/e2e-tests/docker-compose-subway.yml @@ -1,6 +1,6 @@ services: mandala-node: - image: ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 + image: ghcr.io/acalanetwork/mandala-node:sha-16f147e container_name: mandala-node ports: - 9944:9944 diff --git a/scripts/e2e-tests/wasm/acala-2250.wasm b/scripts/e2e-tests/wasm/acala-2250.wasm new file mode 100644 index 000000000..e12086616 Binary files /dev/null and b/scripts/e2e-tests/wasm/acala-2250.wasm differ diff --git a/scripts/e2e-tests/wasm/karura-2250.wasm b/scripts/e2e-tests/wasm/karura-2250.wasm new file mode 100644 index 000000000..1469f00a4 Binary files /dev/null and b/scripts/e2e-tests/wasm/karura-2250.wasm differ diff --git a/scripts/new-rpc-benchmark/README.md b/scripts/new-rpc-benchmark/README.md index ef76493bb..28129862f 100644 --- a/scripts/new-rpc-benchmark/README.md +++ b/scripts/new-rpc-benchmark/README.md @@ -1,7 +1,7 @@ # New Eth RPC Benchmark first start a local mandala with normal sealing ``` -docker run -it --rm -p 9944:9944 ghcr.io/acalanetwork/mandala-node:sha-89ef1e5 --dev --rpc-external --rpc-cors=all --rpc-methods=unsafe -levm=debug --pruning=archive +docker run -it --rm -p 9944:9944 ghcr.io/acalanetwork/mandala-node:sha-16f147e --dev --rpc-external --rpc-cors=all --rpc-methods=unsafe -levm=debug --pruning=archive ``` then start an old rpc adapter