Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to polkadot stable2409 #3031

Merged
merged 48 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
563711f
Upgrade to stable2409
TarekkMA Nov 5, 2024
77dad3d
fix(ethereum-xcm, precompiles/proxy): Compile issues
TarekkMA Nov 5, 2024
b5ef74b
fix(pallet-evm-precompile-preimage): Compile issues
TarekkMA Nov 5, 2024
9b0bf15
fix(pallet-evm-precompile-author-mapping): Compile issues
TarekkMA Nov 5, 2024
8841df9
fix(pallet-evm-precompile-collective): Compile issues
TarekkMA Nov 5, 2024
9eb2d74
fix(pallet-evm-precompile-crowdloan-rewards): Compile issues
TarekkMA Nov 5, 2024
0cc9a49
fix(pallet-evm-precompile-xtokens): Compile issues
TarekkMA Nov 5, 2024
26b5186
fix(pallet-evm-precompile-referenda): Compile issues
TarekkMA Nov 5, 2024
95417e9
fix(pallet-evm-precompile-gmp): Compile issues
TarekkMA Nov 5, 2024
ac486e4
fix(pallet-evm-precompile-conviction-voting): Compile issues
TarekkMA Nov 5, 2024
fb1e0d7
fix(pallet-evm-precompile-balances-erc20): Compile issues
TarekkMA Nov 5, 2024
0e043f1
fix(pallet-evm-precompile-xcm-transactor): Compile issues
TarekkMA Nov 5, 2024
04219a7
fix(pallet-evm-precompile-xcm-utils): Compile issues
TarekkMA Nov 5, 2024
9d32e18
fix(pallet-evm-precompileset-assets-erc20): Compile issues
TarekkMA Nov 5, 2024
065d60a
fix(pallet-evm-precompile-identity): Compile issues
TarekkMA Nov 5, 2024
54cc594
fix(pallet-evm-precompile-parachain-staking): Compile issues
TarekkMA Nov 5, 2024
c145fe0
fix(common): add a temp weight for transfer_all
TarekkMA Nov 5, 2024
b7402f6
fix(runtimes): Compile issues
TarekkMA Nov 5, 2024
e5e73ed
fix(summarize-precompile-checks): Compile issues
TarekkMA Nov 6, 2024
506ae5d
fix: jsonrpsee version
TarekkMA Nov 6, 2024
56f2b4d
fix(moonbeam-cli): Compile issues
TarekkMA Nov 6, 2024
1f441ea
fix(moonbeam-service): Compile issues
TarekkMA Nov 6, 2024
3d3a459
fix(ethereum-xcm): Compile issue
TarekkMA Nov 6, 2024
d673f69
style: cargo fmt
TarekkMA Nov 6, 2024
ea97523
refactor: remove unused imports
TarekkMA Nov 6, 2024
aca760d
fix: Compile issues in tests
TarekkMA Nov 6, 2024
47ba21c
fix: create_and_manipulate_foreign_asset test
TarekkMA Nov 8, 2024
f5c0080
fix: test_executor_send test
TarekkMA Nov 8, 2024
8eb4854
style: cargo fmt
TarekkMA Nov 8, 2024
80e48fb
fix: randomness tests
TarekkMA Nov 11, 2024
ed458ca
fix: randomness tests
TarekkMA Nov 11, 2024
d455b7c
fix: randomness tests
TarekkMA Nov 11, 2024
a8f39f9
fix: test-fees
TarekkMA Nov 15, 2024
f95be1d
fix: zombie-net
TarekkMA Nov 15, 2024
e7daf88
fix: randomness tests
TarekkMA Nov 15, 2024
cf79e2a
fix: gas issue
TarekkMA Nov 15, 2024
3aaede2
Merge branch 'master' into moonbeam-polkadot-stable2409
TarekkMA Nov 18, 2024
8f60644
update pins
TarekkMA Nov 19, 2024
6782592
Merge remote-tracking branch 'origin/master' into moonbeam-polkadot-s…
TarekkMA Nov 19, 2024
e2a9dd4
refactor: remove if_std
TarekkMA Nov 21, 2024
ac9378a
Merge branch 'master' into moonbeam-polkadot-stable2409
TarekkMA Dec 16, 2024
1929fc2
fix: merge issues
TarekkMA Dec 17, 2024
371ab5f
update cargo.lock
TarekkMA Dec 17, 2024
ea3b53a
fix: ERC20_UNPAUSE_GAS_LIMIT value
TarekkMA Dec 17, 2024
eefad0a
fix: gas values for storage growth tests
TarekkMA Dec 17, 2024
36b7843
fix: gas values for storage growth tests
TarekkMA Dec 17, 2024
38de04e
update Cargo.lock and fix import_queue usage
TarekkMA Dec 17, 2024
72784f1
style: remove empty line
TarekkMA Dec 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ describeSuite({
testCases: ({ context, it, log }) => {
const newAccount = "0x1ced798a66b803d0dbb665680283980a939a6432";

// The tx can create an account, so record 148 bytes of storage growth
// Storage growth ratio is 366
// storage_gas = 148 * 366 = 54168
// pov_gas = 5693 * 16 = 91088
// TODO: update commend to reflect how the new value is calculated
const expectedGas = 92232n;
TarekkMA marked this conversation as resolved.
Show resolved Hide resolved

it({
id: "T01",
title: "should fail transfer due to insufficient gas required to cover the storage growth",
Expand All @@ -39,11 +46,6 @@ describeSuite({
// Snapshot estimated gas
expect(estimatedGas).toMatchInlineSnapshot(`102539n`);

// The tx can create an account, so record 148 bytes of storage growth
// Storage growth ratio is 366
// storage_gas = 148 * 366 = 54168
// pov_gas = 5693 * 16 = 91088
const expectedGas = 91_088n;

const rawTxn = await context.writePrecompile!({
precompileName: "Proxy",
Expand Down Expand Up @@ -75,7 +77,7 @@ describeSuite({
});

// Snapshot estimated gas
expect(proxyProxyEstimatedGas).toMatchInlineSnapshot(`91908n`);
expect(proxyProxyEstimatedGas).toMatchInlineSnapshot(expectedGas);
TarekkMA marked this conversation as resolved.
Show resolved Hide resolved

const balBefore = await context.viem().getBalance({ address: FAITH_ADDRESS });
const rawTxn2 = await context.writePrecompile!({
Expand Down Expand Up @@ -131,10 +133,7 @@ describeSuite({
});

// Snapshot estimated gas
expect(estimatedGas).toMatchInlineSnapshot(`91908n`);

// old value 91_088n
const expectedGas = 91_472n;
expect(estimatedGas).toMatchInlineSnapshot(expectedGas);
TarekkMA marked this conversation as resolved.
Show resolved Hide resolved

const rawTxn2 = await context.writePrecompile!({
precompileName: "Proxy",
Expand Down
Loading