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 Substrate to v1.0.0 #821

Merged
merged 114 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
78c2aaf
Update substrate deps to point to polkadot-v1.0.0
surangap Mar 13, 2024
d7171cc
Update frontier deps to point to polkadot-v1.0.0-TRN
surangap Mar 13, 2024
79c253d
sc-consensus-uncles, sp-authorship removed
surangap Mar 14, 2024
1eef070
sc-finality-grandpa -> sc-consensus-grandpa
surangap Mar 14, 2024
80087e3
rpc_binary_search_estimate -> rpc-binary-search-estimate
surangap Mar 14, 2024
5a1c08c
remote-externalities -> frame-remote-externalities
surangap Mar 14, 2024
e07ccdb
remove feat wasmtime
surangap Mar 14, 2024
7922078
update toolchain file to nightly-2023-05-22
surangap Mar 15, 2024
f3ffce5
point clap to 4.4.18 precise
surangap Mar 15, 2024
93ac6c8
Update block_weights.rs to weight v2 manually for now
surangap Mar 15, 2024
e086466
Update code to support PrecompileSet::is_precompile() gas return chan…
surangap Mar 18, 2024
8a7c6a9
Remove BlockNumber, Header from frame_system::Config, Add Block insid…
surangap Mar 18, 2024
eb89eca
Update code to support AssetId trait removals #12740, new type aliase…
surangap Mar 18, 2024
9cbefed
temp - get rid of weight v2 errors for now
surangap Mar 20, 2024
8b6ac6c
use BlockNumberFor instead of BlockNumber, #14437
surangap Mar 20, 2024
93fe6cf
Use explicit call index #12891
surangap Mar 20, 2024
78c610c
BlockNumber -> BlockNumberFor round 2
surangap Mar 20, 2024
30fb8ff
GenesisBuild -> BuildGenesisConfig
surangap Mar 20, 2024
b58e6e7
Index -> Nonce, #14290
surangap Mar 20, 2024
3cab933
Bump ethabi v18.0.0, ethereum v14.0.0, ethereum-types v0.14.1
surangap Mar 21, 2024
924c7de
Multicurrency handling updates to support #12951 (#823)
surangap Mar 25, 2024
e16df2d
weight 2 arithmatic.
surangap Mar 25, 2024
f1800b0
Multicurrency more.
surangap Mar 25, 2024
1810470
Precompile remaining_gas more changes
surangap Mar 25, 2024
5398845
BlockNumber -> BlockHash in runtime apis
surangap Mar 26, 2024
94080a4
Weight 2 introduction in evm changes, frontier-#1039
surangap Mar 27, 2024
f98b68a
pallet_evm::Config, pallet_ethereum::Config add new type aliases.
surangap Mar 27, 2024
e28639b
Updates for Keystore overhaul.
surangap Mar 28, 2024
0d5cda4
Updates for Syncing protocol extraction from sc-network
surangap Mar 28, 2024
a408c91
fix iterative FinalityNotification dispatch due to introduction of Un…
surangap Apr 10, 2024
771b2db
Fix other errors in ethy-gadget
surangap Apr 10, 2024
96f8ba2
Fix pallet_evm::AccountCodes access
surangap Apr 10, 2024
179c4da
Fix Percent::from_rational for usize
surangap Apr 10, 2024
3ae3b3d
Merge branch 'main' into feat/substrate-v1.0.0
surangap Apr 15, 2024
4a278e3
Fix pallet-erc20-peg build errors.
surangap Apr 15, 2024
fb134e1
Fix pallet-ethy build errors.
surangap Apr 15, 2024
8fc37ab
Fix pallet-crowdsale build errors.
surangap Apr 15, 2024
d47062d
Fix seed-runtime
surangap Apr 16, 2024
5164493
client fixes so far
surangap Apr 22, 2024
4e0aa10
Fix ethy gadget syncing service build failures.
surangap Apr 30, 2024
116130b
Fix frontier essential task spawning build errors.
surangap Apr 30, 2024
18f415e
Fix service
surangap May 2, 2024
c9ffb27
Fix RPC
surangap May 2, 2024
9ecf4e6
Fix cli, command
surangap May 2, 2024
731a65c
Update pending_create_inherent_data_providers.
surangap May 6, 2024
c053c8d
Update pending_consensus_data_provider with BABE
surangap May 6, 2024
0abcff7
Fix RunCmd nested use.
surangap May 7, 2024
13332bf
Update MaxSetIdSessionEntries
surangap May 8, 2024
ba5da1f
Update pending_block runtime api
surangap May 8, 2024
32a0966
Add rocksdb to default flags
surangap May 8, 2024
2d0bdac
Fix ethy-gadget testing.
surangap May 9, 2024
8fc704e
Feat/substrate v1.0.0 Fix Tests (#836)
JasonTulp May 10, 2024
3f5e596
frame-benchmarking required, fmt
surangap May 10, 2024
65321ba
Update benchmark script
surangap May 12, 2024
d62b26c
Fix benchmark script pallet naming for good and fix pallet benchmarking.
surangap May 13, 2024
82db0eb
Add an exception for pallet-vortex non-standard dir name in benchmark…
surangap May 13, 2024
22c9465
New weights 🏋️
surangap May 13, 2024
b4757dc
Add a benchmark for XRPLBridge::set_xrp_source_tag()
surangap May 14, 2024
e907976
Merge remote-tracking branch 'origin/main' into feat/substrate-v1.0.0
JasonTulp May 16, 2024
9dddfcd
Fix merge issues
JasonTulp May 17, 2024
74759c7
Add migrations, bump spec versions
surangap May 20, 2024
297f6d0
Fix weight v2 lte comparisons and tests.
surangap May 23, 2024
effee9e
Ignore xrpl ed25519 test for now
surangap May 23, 2024
112f8fb
Update all benchmarks on feat/substrate-v1.0.0
actions-user May 23, 2024
bd39689
Add --skip-exculded-check flag to benchmarking script, Now supports r…
surangap May 24, 2024
a9836ff
Local weights for missing pallets
surangap May 24, 2024
b40022a
Update benchmark workflow to use updated script.
surangap May 24, 2024
cf70755
minor
surangap May 24, 2024
6bf9f13
Update benchmarks for frame-benchmarking pallet-assets pallet-im-onli…
actions-user May 24, 2024
6540a74
Update benchmarks for pallet-im-online on feat/substrate-v1.0.0
actions-user May 26, 2024
6f02ae4
Update benchmarks for pallet-assets on feat/substrate-v1.0.0
actions-user May 27, 2024
2b84a69
Update benchmarks for frame-benchmarking on feat/substrate-v1.0.0
actions-user May 27, 2024
850dc52
Feat/substrate v1.0.0 test 2 (#844)
JasonTulp May 27, 2024
18ae94b
Feat/substrate v1.0.0 e2e tests (#845)
zees-dev May 27, 2024
7265a87
yarn format
zees-dev May 27, 2024
de0860e
bump rust version in docker files and workflows
zees-dev May 27, 2024
0530058
disable security checks
zees-dev May 28, 2024
3333187
Revert "disable security checks"
zees-dev May 28, 2024
7832bff
removed dead code, cargo.toml client improvements
zees-dev May 29, 2024
d0a7017
upd fork state dockerfile
zees-dev May 29, 2024
7a273ee
added poolAddress function comment
zees-dev May 29, 2024
a9010d4
Review suggestions
surangap Jun 4, 2024
49730ae
Set pallet_evm create, create2, call function validate = true
surangap Jun 4, 2024
110ca59
Review suggestions
surangap Jun 4, 2024
fb8b511
Index -> Nonce
surangap Jun 4, 2024
ddfc365
Update correct weights for OnChainSeqPhragmen
surangap Jun 5, 2024
6f4a2f0
Add correct weights for pallet_sudo
surangap Jun 5, 2024
499ae65
review suggestions
surangap Jun 5, 2024
632791a
vortex-distribution -> vortex
surangap Jun 5, 2024
b056403
Update benchmarks for pallet-vortex on feat/substrate-v1.0.0
actions-user Jun 6, 2024
2bf5b10
Update benchmarks for pallet-sudo on feat/substrate-v1.0.0
actions-user Jun 6, 2024
0df217f
Update benchmarks for frame-election-provider-support on feat/substra…
actions-user Jun 6, 2024
27c2908
EVM Weight V2 handling
surangap Jun 7, 2024
1b6ba18
Add extra cost to is_precompile check for PrecompileSets (#848)
JasonTulp Jun 10, 2024
35bf4a1
Address Substrate 1.0.0 Test comments (#846)
JasonTulp Jun 10, 2024
31a3dd2
minor
surangap Jun 10, 2024
48db351
Updated MAXIMUM_BLOCK_WEIGHT to 1s. Cost files generated. (#849)
surangap Jun 10, 2024
10096fd
Prettier 🦋
JasonTulp Jun 11, 2024
2ac55ff
Bump seed-client to 8.0.0
surangap Jun 11, 2024
ea074fa
Add disable-eth-p2p flag to cli (#852)
JasonTulp Jun 17, 2024
6cfe6cd
Cargo workspace dependency migration (#851)
zees-dev Jun 18, 2024
a07d03b
Skip Staking storage when generating the fork state.
surangap Jun 25, 2024
0e8240b
CLI options for frontier sqlite backend (#855)
zees-dev Jun 25, 2024
e8c5712
XRPL e2e test improvements (#854)
zees-dev Jun 25, 2024
8543c73
Update FeeControl values as same as the mainnet (#856)
surangap Jul 1, 2024
e9d85ee
Eth `BLOCK_GAS_LIMIT` Optimizations (#853)
surangap Jul 3, 2024
c82f00b
Update Substrate deps for native support (#857)
JasonTulp Jul 8, 2024
549b023
Update transaction-payment default (#859)
JasonTulp Jul 8, 2024
6d903b6
fmt
surangap Jul 18, 2024
da69197
Bump spec version to 56
surangap Jul 18, 2024
3d5a4c2
Fix tests
surangap Jul 18, 2024
a401942
Fix warnings.
surangap Jul 19, 2024
f74652f
Update spec version to 55
surangap Jul 22, 2024
f51efb3
Revert version changes for now.
surangap Jul 22, 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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
- name: Check
run: |
cargo -V
cargo check --release --all-features
cargo check --release --all --all-features
- name: Test
run: |
cargo -V
cargo test --workspace --all-features
cargo test --all --all-features
#- name: Benchmark (build only)
# run: cargo check --features=runtime-benchmarks

Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/dispatch-benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
pallets:
description: 'Space-separated list of pallet names; e.g. `pallet-futurepass pallet-dex`; runs all if left empty'
required: false
skip-exclude-check:
type: boolean
description: 'Skip excluded pallet check. Useful with long running pallet benchmarking'
required: false
default: false

jobs:
benchmarks:
Expand Down Expand Up @@ -42,16 +47,22 @@ jobs:
- name: Run benchmarks
run: |
PALLET_INPUT=${{ github.event.inputs.pallets }}
SKIP_EXCLUDE_CHECK=""
if [ ${{ github.event.inputs.skip-exclude-check }} ]
then
SKIP_EXCLUDE_CHECK="-e"
fi
surangap marked this conversation as resolved.
Show resolved Hide resolved

if [ -z "$PALLET_INPUT" ]
then
./scripts/run_benchmarks.sh
./scripts/run_benchmarks.sh $SKIP_EXCLUDE_CHECK
else
IFS=' ' read -ra PALLET_ARRAY <<< "$PALLET_INPUT"
PALLET_ARGS=""
for i in "${PALLET_ARRAY[@]}"; do
PALLET_ARGS+="-p $i "
done
./scripts/run_benchmarks.sh $PALLET_ARGS
./scripts/run_benchmarks.sh $PALLET_ARGS $SKIP_EXCLUDE_CHECK
fi

- name: Check for Benchmarking Errors
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fork-state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Fetch the service status
uses: nev7n/wait_for_response@v1
with:
url: "https://devnet.cicd.rootnet.app:9933/"
url: "https://devnet.cicd.rootnet.app:9944/"
responseCode: 405
timeout: 300
interval: 20
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
ref: ${{ github.ref_name }}
fetch-depth: 0

- uses: dtolnay/rust-toolchain@1.69
- uses: dtolnay/rust-toolchain@1.71
with:
toolchain: nightly
targets: wasm32-unknown-unknown
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: mkdir -p output

- name: Build image
run: podman build -t tchain -f ./dockerimages/rust-1.65.0.Dockerfile .
run: podman build -t tchain -f ./dockerimages/rust-1.71.0.Dockerfile .

- name: Run try-runtime
run: podman run --rm -v ./output:/output -t tchain /bin/bash ./ci-scripts/try-runtime.sh
Expand Down
Loading
Loading