Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Extract Ethereum chain id in tests #117

Merged
merged 11 commits into from
Feb 28, 2024

Conversation

claravanstaden
Copy link
Collaborator

While adding runtime tests to polkadot-fellows/runtimes#130, I noticed the Ethereum chain ID is hardcoded in the test helpers and cannot be updated to chain id = 1 in the Kusama and Polkadot runtimes.

@claravanstaden claravanstaden marked this pull request as ready for review February 25, 2024 13:45
Comment on lines +56 to +67
[workspace.dependencies]
polkavm-linker = "0.8.2"
polkavm-derive = "0.8.0"
log = { version = "0.4.20", default-features = false }
quote = { version = "1.0.33" }
serde = { version = "1.0.197", default-features = false }
serde-big-array = { version = "0.3.2" }
serde_derive = { version = "1.0.117" }
serde_json = { version = "1.0.114", default-features = false }
serde_yaml = { version = "0.9" }
syn = { version = "2.0.50" }
thiserror = { version = "1.0.48" }
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Includes workspace dependencies, which was added upstream in the polkadot-sdk/Cargo.toml. I first deleted our Cargo.toml in this directory, but then running just the Snowbridge tests in CI becomes a pain, so I thought this duplication is OK.

Copy link

@alistair-singh alistair-singh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@vgeddes vgeddes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@claravanstaden claravanstaden merged commit 78c6c9b into snowbridge Feb 28, 2024
7 checks passed
@claravanstaden claravanstaden deleted the extract-ethereum-chain-id branch February 28, 2024 08:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants