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

Update polkadot-sdk to stable-2409 #566

Open
wants to merge 62 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
7e114e1
update dependency of polkadot and frontier
rustlang-dev Sep 6, 2024
f6f6103
cargo lock
rustlang-dev Sep 6, 2024
3883bd8
latest polkadot and frontier.
rustlang-dev Sep 6, 2024
450f64f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 6, 2024
0185d57
creditcoin runtime polkadot/frontier dependency finished.
rustlang-dev Sep 7, 2024
c0a4895
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 7, 2024
b5e27b8
update frontier rpc trace to the latest version of polkadot.
rustlang-dev Sep 10, 2024
012c91e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 11, 2024
a0b727e
fix overrides evm cache task.
rustlang-dev Sep 12, 2024
0e1aef4
fix spawn_frontier_tasks compilation.
rustlang-dev Sep 12, 2024
348c288
fix overrides, metrics.
rustlang-dev Sep 12, 2024
abd90c4
fix frontier_backend
rustlang-dev Sep 12, 2024
c1e79df
FrontierBackend
rustlang-dev Sep 12, 2024
bf399ea
fix FrontierBackend
rustlang-dev Sep 13, 2024
de2f37a
fix genesis.
rustlang-dev Sep 13, 2024
92c34b5
fix ChainSpec
rustlang-dev Sep 13, 2024
b7215ed
upgrade cc3 node to latest frontier, polkadot sdk but still some todo
rustlang-dev Sep 13, 2024
bc07c24
add todo!
rustlang-dev Sep 13, 2024
db7298e
fix and enable offchain-workers-runner spawn.
rustlang-dev Sep 13, 2024
2dbcbf1
remove 2 todos
rustlang-dev Sep 13, 2024
d8d72b0
fix 2 todos about grandpa notification inside new_full node fn.
rustlang-dev Sep 13, 2024
e1779e1
fix run of Subcommand::FrontierDb
rustlang-dev Sep 16, 2024
1385110
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 16, 2024
5d1ad69
fix new_full fn that now match &frontier_backend into EthDeps struct
rustlang-dev Sep 16, 2024
073d480
fix spawn_tracing_tasks fn to match *params.frontier_backend.clone()
rustlang-dev Sep 16, 2024
89cb382
udate readme.
rustlang-dev Sep 16, 2024
4f88528
fix genesis build. made compatible with stable0724 version. json genesis
rustlang-dev Sep 16, 2024
21c2048
frontier backend no locks available fix. read description
rustlang-dev Sep 16, 2024
ba0194e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 16, 2024
b61cbb0
refactoring after migration to latest polkadot-sdk/frontier.
rustlang-dev Sep 19, 2024
3c08436
register metrics with prometheus for node service new_full fn
rustlang-dev Sep 19, 2024
e60cdbb
cargo fmt --
rustlang-dev Sep 19, 2024
cdd9dfb
fix some clippy.
rustlang-dev Sep 23, 2024
1bfb8da
fix unit tests build. tests passed.
rustlang-dev Sep 23, 2024
ed3333d
remove frontier and polkadot-sdk from check for used forks .sh
rustlang-dev Sep 23, 2024
691e8f0
whitelist github.com/paritytech frontier and polkadot-sdk
rustlang-dev Sep 23, 2024
cc40751
fix clippy
rustlang-dev Sep 23, 2024
65ac860
fix all lints to allow deprecated fn
rustlang-dev Sep 23, 2024
9772625
cargo fmt
rustlang-dev Sep 23, 2024
6c3ce39
check migration locally. new runtime on top of old node + runtime
rustlang-dev Sep 25, 2024
615feb8
add file to run chopstics
rustlang-dev Sep 26, 2024
a856c54
update readme about chopsticks
rustlang-dev Sep 26, 2024
044dfbf
chore: use rust 1.81
DylanVerstraete Jan 21, 2025
bf1ca8f
chore: fix after rebase
beqaabu Feb 6, 2025
84fad24
feat: move to polkadot 2409 and moonbeam fork for tracing
beqaabu Feb 6, 2025
2fba187
chore: fix clippy
beqaabu Feb 6, 2025
7778e86
fix: add missing host functions and bump version
beqaabu Feb 6, 2025
fc2a63c
chore: fix tracing integration test
beqaabu Feb 6, 2025
eba678b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 6, 2025
50dbca5
feat: experimenting with srtool
beqaabu Feb 6, 2025
dc9f637
fix: make cli work
beqaabu Feb 6, 2025
736488e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 6, 2025
7626f7c
chore: fix js fmt
beqaabu Feb 6, 2025
682197e
chore: fix precompiles check and test
beqaabu Feb 7, 2025
650aa00
Relax assertions for unbonding interval when queried almost each block
atodorov Feb 7, 2025
09d33a0
chore: add node-key to docker and add timeouts to withdraw-unbonded t…
beqaabu Feb 10, 2025
40d0545
fix: setup nodes correctly and update extrinsics inside cli
beqaabu Feb 10, 2025
0448cab
chore: use updated fork for tracing hostfunctions
beqaabu Feb 13, 2025
19f0936
chore: pr comments
beqaabu Feb 13, 2025
3781727
fix: gitleaks for new chopsticks config file
beqaabu Feb 13, 2025
2c65250
chore: pr comments, docs
beqaabu Feb 14, 2025
be872ea
chore: gitleaks again
beqaabu Feb 14, 2025
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
8 changes: 5 additions & 3 deletions .github/check-for-used-forks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ USED_FORKS=$(find ./ -name Cargo.toml -print0 | xargs --null grep git |
# whitelist begin
grep -v "repository =" |
# frontier doesn't publish to crates.io and depends on polkadot-sdk
grep -v github.com/gluwa/frontier |
grep -v github.com/gluwa/polkadot-sdk |
grep -v github.com/paritytech/frontier |
grep -v github.com/paritytech/polkadot-sdk |
# frontier depends on this specific version
grep -v github.com/rust-blockchain/evm
grep -v github.com/rust-blockchain/evm |
# moonbeam fork
grep -v https://github.com/gluwa/moonbeam
# whitelist end
)
echo "INFO: Used forks in Cargo.toml files"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
--validator --chain devnet \
--name "test-node-devnet-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
--node-key ${{ secrets.CI_VALIDATOR_NODE_KEY }} \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
Expand Down Expand Up @@ -75,6 +76,7 @@ jobs:
--validator --chain testnet \
--name "test-node-testnet-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
--node-key ${{ secrets.CI_VALIDATOR_NODE_KEY }} \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
Expand Down Expand Up @@ -110,6 +112,7 @@ jobs:
--validator --chain mainnet \
--name "test-node-mainnet-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
--node-key ${{ secrets.CI_VALIDATOR_NODE_KEY }} \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
Expand Down Expand Up @@ -147,6 +150,8 @@ jobs:
sleep 10

- name: Start Testnet container via compose
env:
NODE_KEY: ${{ secrets.CI_VALIDATOR_NODE_KEY }}
run: |
docker compose up -d

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
workdir: ${{ github.workspace }}
tag: ${{ env.RUSTC_VERSION }}
env:
BUILD_OPTS: "--release --features fast-runtime --features devnet"
BUILD_OPTS: "--features fast-runtime --features devnet"
- name: Summary
run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq . > creditcoin-srtool-digest.json
Expand Down
3 changes: 3 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ d103b6518efc18d8fcef9dd0bb211036fbec9543:chainspecs/devnetSpec.json:generic-api-
6f55319db6d92462e373ce14198f80698b0a1ba4:eth_scripts/index.js:generic-api-key:53
42f7f8a3ba97c70e5285eb73eeaddbe0c34cc9af:chainspecs/dryRunSpec.json:generic-api-key:37521
a701a3c71a6dcb81d27b1b0af190af3be9f0f30a:chainspecs/dryRunSpec.json:generic-api-key:37650
c15e881fab1d49bc4b61d2172fce2e8f22c0f96d:cc3.yml:generic-api-key:9
f4fee6dae9028f5ecb08b923ecb0e108f68941da:chopsticks-config.yml:generic-api-key:7
615feb80c71c7ff69ef5f5c170310fc83af48da1:cc3.yml:generic-api-key:9
Loading
Loading