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

Runtime 1200 Upgrade Checklist #842

Closed
17 tasks done
github-actions bot opened this issue Mar 22, 2022 · 3 comments
Closed
17 tasks done

Runtime 1200 Upgrade Checklist #842

github-actions bot opened this issue Mar 22, 2022 · 3 comments

Comments

@github-actions
Copy link

github-actions bot commented Mar 22, 2022

Node

Runtime Upgrade

  • Compatible with previous versions
    • Darwinia
    • Crab
  • Fork off Substrate
    • Darwinia
    • Crab
  • Try runtime
    • Darwinia
    • Crab

Running

  • Able to run more than an era without any error
    • Darwinia
    • Crab

cc @AurevoirXavier

Ecosystem

Apps

cc @sxlwar

Bridger

cc @fewensa

Monitor

  • Bridge
    • Darwinia (MMR roots to sign,Pending headers)

cc @fewensa

Subql

cc @sxlwar

@wi1dcard

This comment was marked as off-topic.

@AurevoirXavier AurevoirXavier changed the title Runtime Upgrade Checklist Runtime 1200 Upgrade Checklist Mar 22, 2022
@fewensa
Copy link
Contributor

fewensa commented Mar 22, 2022

darwinia

# darwinia --version
darwinia 0.11.8-unknown-x86_64-linux-gnu

crab

$ ./target/release/darwinia.exe --version
darwinia 0.12.0-286081a3-x86_64-windows-msvc

bridger

$ ./bridger.sh darwinia-crab init crab-to-darwinia
+ dirname ./bridger.sh
+ cd .
+ pwd -P
+ BIN_PATH=D:/dev/darwinia-network/bridger
+ export 'RUST_SPANTRACE=1'
+ cargo build --manifest-path D:/dev/darwinia-network/bridger/frame/Cargo.toml --package darwinia-bridger
    Finished dev [unoptimized + debuginfo] target(s) in 0.81s
+ D:/dev/darwinia-network/bridger/frame/target/debug/bridger darwinia-crab init crab-to-darwinia
2022-03-22 03:41:03  INFO darwinia-crab: Init bridge CrabToDarwinia
2022-03-22 03:41:03 DEBUG darwinia-crab: source client -> Client { genesis_hash: 0xa8e949db4f2f355bd0b288ed9dbfbb6a23da6e79890a9a3de4201594878ef23a }
2022-03-22 03:41:03 DEBUG darwinia-crab: target client -> Client { genesis_hash: 0x116e68bf386801c190b31300b38434f6940d595ea1956cb763c13803f61af6a2 }
2022-03-22 03:41:11  INFO bridge: Prepared initialization data for Crab-headers bridge at Darwinia: InitializationData { header: Header { parent_hash: 0x75bbc68d4c5938f485709f3eceabcb6d4385b9e2f5cf7a4a46726bdcfc077e63, number: 12, state_root: 0x62ee5c58787890c319dcda061452986c278de3648b7caeca3fd36d1a991698a3, extrinsics_root: 0x5932a4c441f2944dda0881752a7cff5ed8d522a3db8a4eed4be41fcdc406e2b8, digest: Digest { logs: [DigestItem::PreRuntime([66, 65, 66, 69], [3, 0, 0, 0, 0, 225, 224, 94, 16, 0, 0, 0, 0, 68, 59, 238, 181, 99, 103, 97, 135, 189, 59, 65, 71, 169, 253, 31, 64, 204, 24, 232, 54, 24, 21, 191, 163, 35, 100, 254, 32, 48, 15, 87, 6, 63, 134, 183, 121, 189, 90, 124, 248, 107, 230, 115, 0, 38, 17, 254, 46, 187, 95, 97, 187, 71, 222, 63, 41, 236, 55, 41, 18, 69, 213, 19, 3, 221, 156, 218, 190, 99, 73, 127, 11, 78, 251, 197, 233, 98, 106, 187, 233, 71, 138, 161, 224, 157, 33, 54, 2, 191, 91, 228, 106, 69, 101, 43, 13]), DigestItem::Consensus([102, 114, 111, 110], [1, 209, 215, 122, 174, 59, 60, 134, 252, 85, 71, 164, 150, 36, 0, 248, 91, 67, 180, 73, 134, 217, 129, 41, 149, 12, 231, 215, 52, 176, 70, 46, 51, 0]), DigestItem::Other([77, 77, 82, 82, 100, 87, 190, 64, 255, 70, 246, 147, 16, 114, 117, 228, 235, 179, 140, 54, 111, 80, 96, 89, 38, 38, 32, 40, 54, 100, 56, 214, 253, 126, 54, 216]), DigestItem::Seal([66, 65, 66, 69], [238, 50, 9, 17, 152, 79, 155, 119, 231, 45, 60, 163, 176, 149, 244, 55, 127, 136, 148, 2, 138, 203, 233, 182, 162, 198, 177, 158, 147, 170, 115, 18, 96, 124, 33, 15, 230, 28, 160, 80, 7, 22, 176, 94, 242, 13, 41, 142, 8, 195, 42, 185, 58, 71, 50, 38, 124, 63, 247, 135, 107, 103, 190, 138])] } }, authority_list: [(Public(88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee (5FA9nQDV...)), 1)], set_id: 0, is_halted: false }
2022-03-22 03:41:11  INFO bridge: Successfully submitted Crab-headers bridge initialization transaction to Darwinia: 0x07eda20c0abdde066be849aeb1dc96a8024fc89529a49242b44ceabeba1276ca
Success





$ ./bridger.sh darwinia-crab init darwinia-to-crab
+ dirname ./bridger.sh
+ cd .
+ pwd -P
+ BIN_PATH=D:/dev/darwinia-network/bridger
+ export 'RUST_SPANTRACE=1'
+ cargo build --manifest-path D:/dev/darwinia-network/bridger/frame/Cargo.toml --package darwinia-bridger
    Finished dev [unoptimized + debuginfo] target(s) in 0.41s
+ D:/dev/darwinia-network/bridger/frame/target/debug/bridger darwinia-crab init darwinia-to-crab
2022-03-22 03:41:25 DEBUG bridger: Found subcommand (darwinia-crab) and args: init darwinia-to-crab
2022-03-22 03:41:25 TRACE bridger: Try execute external command
2022-03-22 03:41:26  INFO darwinia-crab: Init bridge DarwiniaToCrab
2022-03-22 03:41:26 DEBUG darwinia-crab: source client -> Client { genesis_hash: 0x116e68bf386801c190b31300b38434f6940d595ea1956cb763c13803f61af6a2 }
2022-03-22 03:41:26 DEBUG darwinia-crab: target client -> Client { genesis_hash: 0xa8e949db4f2f355bd0b288ed9dbfbb6a23da6e79890a9a3de4201594878ef23a }
2022-03-22 03:41:28  INFO bridge: Prepared initialization data for Darwinia-headers bridge at Crab: InitializationData { header: Header { parent_hash: 0x88d7eeb90d574c7cc952d719f10d55393b530988d32919d4ac69b414c02282eb, number: 184, state_root: 0x474cdb9bc66c7befac2bf75fd919ee88d275d2b85d3e4d3b494df7d7c8caca5c, extrinsics_root: 0xe6eb0c03375c3ee1cebf89d6e6f0cb0bf74b237e9cd556fd0bd95a7634d82a03, digest: Digest { logs: [DigestItem::PreRuntime([66, 65, 66, 69], [3, 0, 0, 0, 0, 228, 224, 94, 16, 0, 0, 0, 0, 222, 130, 127, 207, 4, 90, 213, 251, 211, 117, 59, 203, 77, 18, 201, 53, 3, 19, 79, 255, 24, 129, 200, 127, 169, 103, 196, 135, 187, 196, 3, 9, 64, 6, 187, 82, 125, 233, 19, 175, 165, 123, 231, 41, 222, 72, 61, 199, 206, 93, 87, 21, 29, 53, 82, 54, 209, 131, 90, 231, 36, 217, 157, 7, 163, 98, 7, 180, 45, 193, 224, 194, 164, 176, 37, 224, 16, 215, 32, 205, 185, 7, 156, 134, 196, 58, 156, 76, 85, 233, 10, 0, 202, 95, 206, 8]), DigestItem::Other([77, 77, 82, 82, 61, 156, 224, 94, 71, 13, 73, 32, 159, 40, 63, 14, 209, 203, 5, 207, 77, 224, 34, 246, 72, 47, 102, 2, 91, 129, 251, 124, 245, 182, 22, 36]), DigestItem::Seal([66, 65, 66, 69], [214, 123, 187, 160, 96, 181, 84, 4, 73, 155, 211, 238, 168, 67, 163, 137, 16, 82, 157, 214, 104, 45, 212, 10, 21, 216, 93, 232, 64, 44, 92, 97, 213, 236, 196, 96, 98, 75, 18, 132, 199, 232, 250, 106, 142, 220, 98, 141, 254, 1, 42, 6, 59, 178, 56, 94, 15, 175, 32, 182, 204, 72, 87, 136])] } }, authority_list: [(Public(88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee (5FA9nQDV...)), 1)], set_id: 0, is_halted: false }
2022-03-22 03:41:28  INFO bridge: Successfully submitted Darwinia-headers bridge initialization transaction to Crab: 0x8e7be4ef0c7aa3f3b9f7d2347ced4d00aa973e2f1f37c2fb1b05950e8079cef6
Success
2022-03-22 04:45:55  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::ReceivingConfirmationsDelivery -> Darwinia::ReceivingConfirmationsDelivery race
2022-03-22 04:45:55  INFO bridge: Synced Some(0) of Some(1) nonces in Darwinia::MessagesDelivery -> Crab::MessagesDelivery race
2022-03-22 04:45:55  INFO client_darwinia::feemarket: [darwinia] You are assigned relayer, you must be relay this nonce(1)
2022-03-22 04:45:55  INFO client_darwinia::feemarket: [darwinia] About nonce 1 decide is true
2022-03-22 04:45:55  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::MessagesDelivery -> Darwinia::MessagesDelivery race
2022-03-22 04:45:55  INFO bridge: Synced Some(0) of Some(0) nonces in Darwinia::ReceivingConfirmationsDelivery -> Crab::ReceivingConfirmationsDelivery race
2022-03-22 04:46:00  INFO bridge: Synced 35 of 38 headers
2022-03-22 04:46:06  INFO bridge: Synced 53 of 53 headers
2022-03-22 04:46:06  INFO bridge: Synced Some(1) of Some(1) nonces in Darwinia::MessagesDelivery -> Crab::MessagesDelivery race
2022-03-22 04:46:06  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::ReceivingConfirmationsDelivery -> Darwinia::ReceivingConfirmationsDelivery race
2022-03-22 04:46:06  INFO bridge: Synced Some(0) of Some(0) nonces in Darwinia::ReceivingConfirmationsDelivery -> Crab::ReceivingConfirmationsDelivery race
2022-03-22 04:46:06  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::MessagesDelivery -> Darwinia::MessagesDelivery race
2022-03-22 04:46:12  INFO bridge: Synced 35 of 38 headers
2022-03-22 04:46:18  INFO bridge: Synced 53 of 53 headers
2022-03-22 04:46:18  INFO bridge: Synced Some(1) of Some(1) nonces in Darwinia::MessagesDelivery -> Crab::MessagesDelivery race
2022-03-22 04:46:18  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::ReceivingConfirmationsDelivery -> Darwinia::ReceivingConfirmationsDelivery race
2022-03-22 04:46:18  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::MessagesDelivery -> Darwinia::MessagesDelivery race
2022-03-22 04:46:18  INFO bridge: Synced Some(0) of Some(0) nonces in Darwinia::ReceivingConfirmationsDelivery -> Crab::ReceivingConfirmationsDelivery race
2022-03-22 04:46:24  INFO bridge: Synced 35 of 54 headers
2022-03-22 04:46:29  INFO bridge: Synced 54 of 54 headers
2022-03-22 04:46:29  INFO bridge: Synced Some(0) of Some(1) nonces in Crab::ReceivingConfirmationsDelivery -> Darwinia::ReceivingConfirmationsDelivery race
2022-03-22 04:46:29  INFO bridge: Synced Some(1) of Some(1) nonces in Darwinia::MessagesDelivery -> Crab::MessagesDelivery race
2022-03-22 04:46:29  INFO bridge: Synced 53 of 53 headers
2022-03-22 04:46:30  INFO bridge: Synced Some(0) of Some(0) nonces in Darwinia::ReceivingConfirmationsDelivery -> Crab::ReceivingConfirmationsDelivery race
2022-03-22 04:46:30  INFO bridge: Synced Some(0) of Some(0) nonces in Crab::MessagesDelivery -> Darwinia::MessagesDelivery race
2022-03-22 04:46:41  INFO bridge: Synced 54 of 57 headers
2022-03-22 04:46:41  INFO bridge: Synced Some(1) of Some(1) nonces in Crab::ReceivingConfirmationsDelivery -> Darwinia::ReceivingConfirmationsDelivery race
2022-03-22 04:46:41  INFO bridge: Synced Some(1) of Some(1) nonces in Darwinia::MessagesDelivery -> Crab::MessagesDelivery race

boundless-forest pushed a commit that referenced this issue Aug 1, 2023
* Remove unwraps in RPC `pending_runtime_api`

* clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants