-
Notifications
You must be signed in to change notification settings - Fork 17
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
Erup-5 Runtime upgrade tracking #20
Comments
Sudo > submit unchecked > compact wasm version of erup-5
|
Erup-5:
Current erup-4:
|
subwasm diff erup4.edgeware_runtime.compact.wasm erup5.edgeware_runtime.compact.compressed.wasm > out_compact_wasm_diff |
|
ugh.. 2022-07-07 17:14:18 Unable to author block in slot 276201143,. `can_author_with` returned: Failed to get
runtime version at `BlockId::Hash(0xda6c7276b0460171a9ed8085df5362b5ad083ab4e190a2f305173b88c3477ffb)` an
d will disable authoring. Error: VersionInvalid("RuntimeConstruction(Other(\"host doesn\\\'t provide such
function: env:ext_storage_clear_prefix_version_2\"))") Probably a node update is required!
2022-07-07 17:14:20 💤 Idle (0 peers), best: #61 (0xda6c…7ffb), finalized #59 (0xbc79…a6ca), ⬇ 14 B/s ⬆ 0
|
After some more digging the chain needs a new binary to run, so I started the chain in development mode with the erup-4 node I compiled erup-5-latest and pushed the wasm file as a runtime upgrade, the chain breaks at block 61:
Then I just copy the binary from the new node: cp ../../erup-5-latest/edgeware-node/target/release/edgeware .
./edgeware --dev --ws-external --base_path /root/.local/share/edgeware Now I start the node and it keeps producing blocks: : /tmp/erup-4-nodes/edgeware-node # ./edgeware --dev --ws-external --base-path /root/.loca
l/share/edgeware
2022-07-12 22:04:13 Edgeware Node
2022-07-12 22:04:13 ✌️ version erup-5
2022-07-12 22:04:13 ❤️ by Commonwealth Labs <hello@commonwealth.im>, 2017-2022
2022-07-12 22:04:13 📋 Chain specification: Development
2022-07-12 22:04:13 🏷 Node name: overwrought-twist-2452
2022-07-12 22:04:13 👤 Role: AUTHORITY
2022-07-12 22:04:13 💾 Database: RocksDb at /root/.local/share/edgeware/chains/dev/db/full
2022-07-12 22:04:13 ⛓ Native runtime: edgeware-52 (edgeware-node-52.tx2.au16)
2022-07-12 22:04:53 Migrating database to a database-type-based subdirectory: '"/root/.local/share/edgeware/chains/dev/db"' -> '"/root/.local/share/edgeware/$
hains/dev/db/full"'
2022-07-12 22:04:55 Using default protocol ID "sup" because none is configured in the chain specs
2022-07-12 22:04:55 🏷 Local node identity is: 12D3KooWJVXhuvEMj9Pp8FbNmGCMDKzzDZbFx8e1FLuAtFKFxQ2b
2022-07-12 22:04:55 📦 Highest known block at #61
2022-07-12 22:04:55 〽️ Prometheus exporter started at 127.0.0.1:9615
2022-07-12 22:04:55 Listening for new connections on 0.0.0.0:9944.
2022-07-12 22:05:00 🙌 Starting consensus session on top of parent 0xda6c7276b0460171a9ed8085df5362b5ad083ab4e190a2f305173b88c3477ffb
2022-07-12 22:05:00 ✅ no migration for System
2022-07-12 22:05:00 ✅ no migration for Utility
2022-07-12 22:05:00 ✅ no migration for Aura
2022-07-12 22:05:00 ✅ no migration for Timestamp
2022-07-12 22:05:00 ✅ no migration for Authorship
2022-07-12 22:05:00 ✅ no migration for Indices
2022-07-12 22:05:00 ✅ no migration for Balances
2022-07-12 22:05:00 ✅ no migration for TransactionPayment
2022-07-12 22:05:00 ✅ no migration for ElectionProviderMultiPhase
2022-07-12 22:05:00 ✅ no migration for Staking
2022-07-12 22:05:00 ✅ no migration for Session
2022-07-12 22:05:00 ✅ no migration for Democracy
2022-07-12 22:05:00 ✅ no migration for Council
2022-07-12 22:05:00 ✅ no migration for PhragmenElection
2022-07-12 22:05:00 ✅ no migration for Grandpa
2022-07-12 22:05:00 ✅ no migration for Treasury
2022-07-12 22:05:00 ✅ no migration for Contracts
2022-07-12 22:05:00 ✅ no migration for Sudo
2022-07-12 22:05:00 ✅ no migration for Indices
2022-07-12 22:05:00 ✅ no migration for Balances
2022-07-12 22:05:00 ✅ no migration for TransactionPayment
2022-07-12 22:05:00 ✅ no migration for ElectionProviderMultiPhase
2022-07-12 22:05:00 ✅ no migration for Staking
2022-07-12 22:05:00 ✅ no migration for Session
2022-07-12 22:05:00 ✅ no migration for Democracy
2022-07-12 22:05:00 ✅ no migration for Council
2022-07-12 22:05:00 ✅ no migration for PhragmenElection
2022-07-12 22:05:00 ✅ no migration for Grandpa
2022-07-12 22:05:00 ✅ no migration for Treasury
2022-07-12 22:05:00 ✅ no migration for Contracts
2022-07-12 22:05:00 ✅ no migration for Sudo
2022-07-12 22:05:00 ✅ no migration for ImOnline
2022-07-12 22:05:00 ✅ no migration for AuthorityDiscovery
2022-07-12 22:05:00 ✅ no migration for Offences
2022-07-12 22:05:00 ✅ no migration for Historical
2022-07-12 22:05:00 ✅ no migration for RandomnessCollectiveFlip
2022-07-12 22:05:00 ✅ no migration for Identity
2022-07-12 22:05:00 ✅ no migration for Recovery
2022-07-12 22:05:00 ✅ no migration for Vesting
2022-07-12 22:05:00 ✅ no migration for Scheduler
2022-07-12 22:05:00 ✅ no migration for Proxy
2022-07-12 22:05:00 ✅ no migration for Multisig
2022-07-12 22:05:00 ✅ no migration for Assets
2022-07-12 22:05:00 ✅ no migration for TreasuryReward
2022-07-12 22:05:00 ⚠️ Ethereum declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `StorageVersion($
)`
2022-07-12 22:05:00 ✅ no migration for EVM
2022-07-12 22:05:00 ✅ no migration for Bounties
2022-07-12 22:05:00 ✅ no migration for Tips
2022-07-12 22:05:00 ✅ no migration for DynamicFee
2022-07-12 22:05:00 ⚠️ BaseFee declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `StorageVersion(0$
`
2022-07-12 22:05:00 ✅ no migration for BagsList
2022-07-12 22:05:00 ✅ no migration for Preimage
2022-07-12 22:05:00 🎁 Prepared block for proposing at 62 (9 ms) [hash: 0x02d5bd3a26eafc37be9659faf9cbf67ec333f8992f64640fe8b15357c873296b; parent_hash: 0xda$
c…7ffb; extrinsics (2): [0x2f09…9c2f, 0x72ed…e2be]]
2022-07-12 22:05:00 🔖 Pre-sealed block for proposal at 62. Hash now 0x7e2c4535568875c306a4c4dd6f02f0184b995952bdd595167b5f2d421822238f, previously 0x02d5bd3$
2022-07-12 22:05:00 🎁 Prepared block for proposing at 62 (9 ms) [hash: 0x02d5bd3a26eafc37be9659faf9cbf67ec333f8992f64640fe8b15357c873296b; parent_hash: 0xda$
c…7ffb; extrinsics (2): [0x2f09…9c2f, 0x72ed…e2be]]
2022-07-12 22:05:00 🔖 Pre-sealed block for proposal at 62. Hash now 0x7e2c4535568875c306a4c4dd6f02f0184b995952bdd595167b5f2d421822238f, previously 0x02d5bd3a
26eafc37be9659faf9cbf67ec333f8992f64640fe8b15357c873296b.
2022-07-12 22:05:00 ✨ Imported #62 (0x7e2c…238f)
2022-07-12 22:05:00 💤 Idle (0 peers), best: #62 (0x7e2c…238f), finalized #59 (0xbc79…a6ca), ⬇ 86 B/s ⬆ 0
2022-07-12 22:05:05 💤 Idle (0 peers), best: #62 (0x7e2c…238f), finalized #60 (0x7aea…8a42), ⬇ 28 B/s ⬆ 0
2022-07-12 22:05:06 🙌 Starting consensus session on top of parent 0x7e2c4535568875c306a4c4dd6f02f0184b995952bdd595167b5f2d421822238f
2022-07-12 22:05:06 🎁 Prepared block for proposing at 63 (0 ms) [hash: 0xa16e4d70b9b9eab14fb63b8fd864515df0ce9f2c955ed5e5e8c506eeb01788db; parent_hash: 0x7e2
c…238f; extrinsics (2): [0x11c3…888a, 0x72ed…e2be]]
2022-07-12 22:05:06 🔖 Pre-sealed block for proposal at 63. Hash now 0xe0252ae9a05b2ae40c81921c47cbb0f51f53fbbd96e5aa8ce33729200b6714ff, previously 0xa16e4d70
b9b9eab14fb63b8fd864515df0ce9f2c955ed5e5e8c506eeb01788db.
2022-07-12 22:05:06 ✨ Imported #63 (0xe025…14ff)
^[[A^[[A2022-07-12 22:05:10 💤 Idle (0 peers), best: #63 (0xe025…14ff), finalized #61 (0xda6c…7ffb), ⬇ 57 B/s ⬆ 0
2022-07-12 22:05:12 🙌 Starting consensus session on top of parent 0xe0252ae9a05b2ae40c81921c47cbb0f51f53fbbd96e5aa8ce33729200b6714ff
2022-07-12 22:05:12 🎁 Prepared block for proposing at 64 (0 ms) [hash: 0x26921c9ab185cc207cb0602c0d812f5038e997ecb7b4dd36f1efeb3c5852a0ed; parent_hash: 0xe02
5…14ff; extrinsics (2): [0x4b1d…d8f0, 0x72ed…e2be]]
2022-07-12 22:05:12 🔖 Pre-sealed block for proposal at 64. Hash now 0x8bb3dd37443adead50ee6e44ee53f783e953de5333a88aad0df72696fdadf3df, previously 0x26921c9a
b185cc207cb0602c0d812f5038e997ecb7b4dd36f1efeb3c5852a0ed.
2022-07-12 22:05:12 ✨ Imported #64 (0x8bb3…f3df)
2022-07-12 22:05:15 💤 Idle (0 peers), best: #64 (0x8bb3…f3df), finalized #62 (0x7e2c…238f), ⬇ 14 B/s ⬆ 0
2022-07-12 22:05:18 🙌 Starting consensus session on top of parent 0x8bb3dd37443adead50ee6e44ee53f783e953de5333a88aad0df72696fdadf3df
2022-07-12 22:05:18 🎁 Prepared block for proposing at 65 (0 ms) [hash: 0xec7b39481b9ef60a8c10ab31c077b8a3f4c70eb4b5c0fbf8da98cbca5f929437; parent_hash: 0x8bb
3…f3df; extrinsics (2): [0xe6c3…4ca5, 0x72ed…e2be]]
2022-07-12 22:05:18 🔖 Pre-sealed block for proposal at 65. Hash now 0x185e0def7a9487318c49654f8cb24d0fb2a2e3d6c37b0985c0018f2efe456ab4, previously 0xec7b3948
1b9ef60a8c10ab31c077b8a3f4c70eb4b5c0fbf8da98cbca5f929437.
|
Running with snapshot balances
|
modified a script from nathan: const { BN } = require("@polkadot/util");
const { encodeAddress } = require("@polkadot/util-crypto");
const { WsProvider, ApiPromise } = require("@polkadot/api");
const fs = require('fs').promises;
const { spec } = require('@edgeware/node-types');
const config = {
blockNumber: 12186935,
endpoint: "wss://edgeware.api.onfinality.io/public",
decimals: 18
}
// Global Variables
var global = {
blocknumber: 0,
pageSize: 100,
};
// Convert a big number balance to expected float with correct units.
function toUnit(balance) {
base = new BN(10).pow(new BN(config.decimals));
dm = new BN(balance).divmod(base);
return parseFloat(dm.div.toString() + "." + dm.mod.toString())
}
// Connect to Substrate endpoint
async function connect() {
let endpoint = config.endpoint;
global.endpoint = endpoint;
const provider = new WsProvider(endpoint);
const api = await ApiPromise.create({
provider,
...spec
// types: {
// ResourceId: "u32",
// }
});
const blockHash = await api.rpc.chain.getBlockHash(config.blockNumber);
const api_at = await api.at(blockHash);
return api_at;
// global.chainDecimals = substrate.registry.chainDecimals;
// global.chainToken = substrate.registry.chainToken;
}
async function getTotalIssuance() {
try {
const api = await connect();
console.log("querying the total issuance")
let total_issuance = toUnit(await api.query.balances.totalIssuance())
let data = {
issuance: total_issuance,
}
console.log("writing")
await fs.writeFile('issuance.json', JSON.stringify(data));
process.exit(0)
} catch (e) {
console.log(e);
process.exit(1)
}
}
// Main function
async function takeSnapshot() {
try {
console.log("connecting...")
const api = await connect();
let balances = {}
// Get address from input
console.log("fetching...")
// console.log(api.query.system);
// process.exit(0)
const all_accounts = await api.query.system.account.entries(); //.entries();
if (all_accounts.length == 0) {
throw("No account");
}
console.log("computing balances...");
for (account of all_accounts) {
// console.log(account.data)
// console.log(all_accounts)
let address = encodeAddress(account[0].slice(-32));
let free = account[1].data.free;
let reserved = account[1].data.reserved;
balances[address] = toUnit(free);
// {
// "AccountId": address,
// "Free": toUnit(free),
// "Reserved": toUnit(reserved),
// "Total": toUnit(free.add(reserved)),
// };
}
console.log("writing")
await fs.writeFile('balances2.json', JSON.stringify(balances));
process.exit(0)
} catch (error) {
console.log(error)
process.exit(1)
}
}
takeSnapshot();
// getTotalIssuance(); parsed with python as toUnit is broken and did a lacy parse to make it not break on minimal deposit #cat parse.py
import json
data = json.load(open('balances2.json', 'rb'))
def add_fluff(inp):
return "8"+inp+"9000099999999"
for x in data.keys(): print('[\n"'+x+'",\n'+add_fluff(str(data.get(x)).replace('0.', '').replace('.', ''))+'\n],\n')
|
then copy the output from the python script and add it to the balances in the customchainspec |
Submit the new runtime upgrade with erup-4 and the balances: the validator stops like before
|
./target/release/edgeware --chain customchainspec --validator --alice --rpc-cors=all --force-authoring --unsafe-pruning --pruning=1000 --ws-external --rpc-methods=unsafe |
chainspec fails to read with all the new balances
|
./edgeware build-spec --chain=dev > chaindev
run
`node setup.js && python3.9 parse.py > bout`
add bout in chaindev balances
./edgeware build-spec --chain=chaindev --raw > chaindev.raw
Copy the erup-5 binary to the node directory and start your chain with it:
./edgeware --chain customchainspec --validator --alice --rpc-cors=all --force-authoring --unsafe-pruning --pruning=1000 --ws-external --rpc-methods=unsafeError: Input("Error parsing spec file: key must be a string at line 16 column 1")
sc-light and substrate light client interfaces and depricated so we want to edit the chainspec and remove the lightSyncState
./target/release/edgeware build-spec --chain dev | grep light
2022-07-21 18:14:52 Building chain spec
"lightSyncState": null,
# vim customchainspec
# ./edgeware --chain customchainspec --validator --alice --rpc-cors=all --force-authoring --unsafe-pruning --pruning=1000 --ws-external --rpc-methods=unsafe
2022-07-21 18:03:54 Edgeware Node
2022-07-21 18:03:54 ✌️ version erup-5
2022-07-21 18:03:54 ❤️ by Commonwealth Labs <hello@commonwealth.im>, 2017-2022
2022-07-21 18:03:54 📋 Chain specification: Development
2022-07-21 18:03:54 🏷 Node name: Alice
2022-07-21 18:03:54 👤 Role: AUTHORITY
2022-07-21 18:03:54 💾 Database: RocksDb at /root/.local/share/edgeware/chains/dev/db/full
2022-07-21 18:03:54 ⛓ Native runtime: edgeware-52 (edgeware-node-52.tx2.au16)
2022-07-21 18:03:56 Migrating database to a database-type-based subdirectory: '"/root/.local/share/edgeware/chains/dev/db"' -> '"/root/.local/share/edgeware/chains/dev/db/full"'
2022-07-21 18:03:59 Using default protocol ID "sup" because none is configured in the chain specs
2022-07-21 18:03:59 🏷 Local node identity is: 12D3KooWRnKKFJsui5gNioU3jEJ7RKdBc1WQ5QKLhGLvrqurphcX
2022-07-21 18:04:00 📦 Highest known block at #52621
2022-07-21 18:04:00 〽️ Prometheus exporter started at 127.0.0.1:9615
2022-07-21 18:04:00 Listening for new connections on 0.0.0.0:9944.
2022-07-21 18:04:00 join multicast failed: Address already in use (os error 98)
2022-07-21 18:03:54 ⛓ Native runtime: edgeware-52 (edgeware-node-52.tx2.au16)
2022-07-21 18:03:56 Migrating database to a database-type-based subdirectory: '"/root/.local/share/edgeware/chains/dev/db"' -> '"/root/.local/shar
e/edgeware/chains/dev/db/full"'
2022-07-21 18:03:59 Using default protocol ID "sup" because none is configured in the chain specs
2022-07-21 18:03:59 🏷 Local node identity is: 12D3KooWRnKKFJsui5gNioU3jEJ7RKdBc1WQ5QKLhGLvrqurphcX
2022-07-21 18:04:00 📦 Highest known block at #52621
2022-07-21 18:04:00 〽️ Prometheus exporter started at 127.0.0.1:9615
2022-07-21 18:04:00 Listening for new connections on 0.0.0.0:9944.
2022-07-21 18:04:00 join multicast failed: Address already in use (os error 98)
2022-07-21 18:04:05 💤 Idle (0 peers), best: #52621 (0x51b3…fbb2), finalized #52619 (0xf182…72d1), ⬇ 57 B/s ⬆ 0
2022-07-21 18:04:06 🙌 Starting consensus session on top of parent 0x51b3a5143862247274fdfcf84d31c9c014bcf61ab34c7cd2ae80affbcd2efbb2
2022-07-21 18:04:06 ✅ no migration for System
2022-07-21 18:04:06 ✅ no migration for Utility
2022-07-21 18:04:06 ✅ no migration for Aura
2022-07-21 18:04:06 ✅ no migration for Timestamp
2022-07-21 18:04:06 ✅ no migration for Authorship
2022-07-21 18:04:06 ✅ no migration for Indices
2022-07-21 18:04:06 ✅ no migration for Balances
2022-07-21 18:04:06 ✅ no migration for TransactionPayment
2022-07-21 18:04:06 ✅ no migration for ElectionProviderMultiPhase
2022-07-21 18:04:06 ✅ no migration for Staking
2022-07-21 18:04:06 ✅ no migration for Session
2022-07-21 18:04:06 ✅ no migration for Democracy
2022-07-21 18:04:06 ✅ no migration for Council
2022-07-21 18:04:06 ✅ no migration for PhragmenElection
2022-07-21 18:04:06 ✅ no migration for Grandpa
2022-07-21 18:04:06 ✅ no migration for Treasury
2022-07-21 18:04:06 ✅ no migration for Contracts
2022-07-21 18:04:06 ✅ no migration for Sudo
2022-07-21 18:04:06 ✅ no migration for ImOnline
2022-07-21 18:04:06 ✅ no migration for AuthorityDiscovery
2022-07-21 18:04:06 ✅ no migration for Offences
2022-07-21 18:04:06 ✅ no migration for Historical
2022-07-21 18:04:06 ✅ no migration for RandomnessCollectiveFlip
2022-07-21 18:04:06 ✅ no migration for Identity
2022-07-21 18:04:06 ✅ no migration for Recovery
2022-07-21 18:04:06 ✅ no migration for Vesting
2022-07-21 18:04:06 ✅ no migration for Scheduler
2022-07-21 18:04:06 ✅ no migration for Proxy
2022-07-21 18:04:06 ✅ no migration for Multisig
2022-07-21 18:04:06 ✅ no migration for Assets
2022-07-21 18:04:06 ✅ no migration for TreasuryReward
2022-07-21 18:04:06 ⚠️ Ethereum declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `Stor
ageVersion(0)`
2022-07-21 18:04:06 ✅ no migration for EVM
2022-07-21 18:04:06 ✅ no migration for EVM
2022-07-21 18:04:06 ✅ no migration for Bounties
2022-07-21 18:04:06 ✅ no migration for Tips
2022-07-21 18:04:06 ✅ no migration for DynamicFee
2022-07-21 18:04:06 ⚠️ BaseFee declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `Stora
geVersion(0)`
2022-07-21 18:04:06 ✅ no migration for BagsList
2022-07-21 18:04:06 ✅ no migration for Preimage
2022-07-21 18:04:06 🎁 Prepared block for proposing at 52622 (36 ms) [hash: 0x71c155abf6c5064d819f26c5bd62af9fa15f63ff4823e13aaefba5c4faa553c9; pa
rent_hash: 0x51b3…fbb2; extrinsics (2): [0x64f4…01d8, 0x72ed…e2be]]
2022-07-21 18:04:06 🔖 Pre-sealed block for proposal at 52622. Hash now 0x5e5857d464d6be1e35cef728976fcba77caf35a90bf94c1a8955cd9da0323ab2, previo
usly 0x71c155abf6c5064d819f26c5bd62af9fa15f63ff4823e13aaefba5c4faa553c9.
2022-07-21 18:04:06 ✨ Imported #52622 (0x5e58…3ab2)
2022-07-21 18:04:10 💤 Idle (0 peers), best: #52622 (0x5e58…3ab2), finalized #52620 (0x36a8…226a), ⬇ 57 B/s ⬆ 0
2022-07-21 18:04:12 🙌 Starting consensus session on top of parent 0x5e5857d464d6be1e35cef728976fcba77caf35a90bf94c1a8955cd9da0323ab2
2022-07-21 18:04:12 🎁 Prepared block for proposing at 52623 (23 ms) [hash: 0xc52b7f9c214229a81b076c619b6b58075eb81d5e97626d6962fd672c1c0ac09b; pa
rent_hash: 0x5e58…3ab2; extrinsics (2): [0xb99d…4525, 0x72ed…e2be]]
2022-07-21 18:04:12 🔖 Pre-sealed block for proposal at 52623. Hash now 0x1283abd926fb1cd4d139869f12e6cb136911386d58c688aca0849f63a21b6ac3, previo
usly 0xc52b7f9c214229a81b076c619b6b58075eb81d5e97626d6962fd672c1c0ac09b.
2022-07-21 18:04:12 ✨ Imported #52623 (0x1283…6ac3)
|
pushed to erup-5-latest |
Trying with: https://github.com/maxsam4/fork-off-substrate.git HTTP_RPC_ENDPOINT=http://mynode:9988 npm start
> fork-off-substrate@1.0.0 start
> node index.js
We are intentionally using the HTTP endpoint. If you see any warnings about that, please ignore them.
Custom Schema missing, using default schema.
2022-07-26 22:17:35 API/INIT: Api will be available in a limited mode since the provider does not support subscriptions
2022-07-26 22:17:38 API/INIT: RPC methods not decorated: contracts_upload_code, dev_getBlockStats, eth_feeHistory, eth_maxPriorityFeePerGas
2022-07-26 22:17:38 API/INIT: Error: FATAL: Unable to initialize the API: Cannot convert undefined or null to object
at ApiPromise.value (/home/filip/rust/work/edgeware/chain_data/fork-off-substrate/node_modules/@polkadot/api/base/Init.cjs:88:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
GIthub issue regarding this: |
Simulate the upgrade with balance migration: Generate chainspec: ./target/release/edgeware build-spec --chain=chaindev --raw > chaindev.raw start the chain with erup-4 binary switch to erup-5 Testing with subalfred: Before upgrade(fails due to metadata v13 needs custom types): filip$ cargo +nightly run export-state ws://server:1166 --fork-off --simple-governance --output xxxold.json --log subalfred::core::node,subalfred::core::substrate_client Caused by: After upgrade: filip$ cargo +nightly run export-state ws://server:1166 --fork-off --simple-governance --output xxxold.json --log subalfred::core::node,subalfred::core::substrate_client
Finished dev [unoptimized + debuginfo] target(s) in 1.04s
Running `target/debug/subalfred export-state 'ws://server:1166' --fork-off --simple-governance --output xxxold.json --log 'subalfred::core::node,subalfred::core::substrate_client'`
2022-08-15T20:24:55.617654Z TRACE subalfred::core::node::export_state: fetching from System::Account
2022-08-15T20:24:55.992327Z TRACE subalfred::core::substrate_client: fetched 512 keys
2022-08-15T20:24:56.312465Z TRACE subalfred::core::substrate_client: fetched 1024 keys
2022-08-15T20:24:56.970225Z TRACE subalfred::core::substrate_client: fetched 512 pairs
2022-08-15T20:24:57.289160Z TRACE subalfred::core::substrate_client: fetched 1536 keys
2022-08-15T20:24:57.695763Z TRACE subalfred::core::substrate_client: fetched 1024 pairs
2022-08-15T20:24:58.011941Z TRACE subalfred::core::substrate_client: fetched 2048 keys
2022-08-15T20:24:58.284828Z TRACE subalfred::core::substrate_client: fetched 1536 pairs
2022-08-15T20:24:58.572124Z TRACE subalfred::core::substrate_client: fetched 2560 keys
2022-08-15T20:24:58.875077Z TRACE subalfred::core::substrate_client: fetched 2048 pairs
2022-08-15T20:24:59.161687Z TRACE subalfred::core::substrate_client: fetched 3072 keys
2022-08-15T20:24:59.481626Z TRACE subalfred::core::substrate_client: fetched 2560 pairs
2022-08-15T20:24:59.821677Z TRACE subalfred::core::substrate_client: fetched 3584 keys
2022-08-15T20:25:00.093019Z TRACE subalfred::core::substrate_client: fetched 3072 pairs
2022-08-15T20:25:00.384123Z TRACE subalfred::core::substrate_client: fetched 4096 keys
2022-08-15T20:25:00.625246Z TRACE subalfred::core::substrate_client: fetched 3584 pairs
2022-08-15T20:25:00.892065Z TRACE subalfred::core::substrate_client: fetched 4608 keys
2022-08-15T20:25:01.327258Z TRACE subalfred::core::substrate_client: fetched 4096 pairs
2022-08-15T20:25:01.612348Z TRACE subalfred::core::substrate_client: fetched 5120 keys
2022-08-15T20:25:01.862514Z TRACE subalfred::core::substrate_client: fetched 4608 pairs
2022-08-15T20:25:02.162102Z TRACE subalfred::core::substrate_client: fetched 5632 keys
2022-08-15T20:25:02.400138Z TRACE subalfred::core::substrate_client: fetched 5120 pairs
2022-08-15T20:25:02.601907Z TRACE subalfred::core::substrate_client: fetched 6144 keys
2022-08-15T20:25:02.952912Z TRACE subalfred::core::substrate_client: fetched 5632 pairs
2022-08-15T20:25:03.111736Z TRACE subalfred::core::substrate_client: fetched 6656 keys
2022-08-15T20:25:03.493008Z TRACE subalfred::core::substrate_client: fetched 6144 pairs
2022-08-15T20:25:03.670226Z TRACE subalfred::core::substrate_client: fetched 7168 keys
2022-08-15T20:25:04.054041Z TRACE subalfred::core::substrate_client: fetched 6656 pairs
2022-08-15T20:25:04.203571Z TRACE subalfred::core::substrate_client: fetched 7680 keys
2022-08-15T20:25:04.687119Z TRACE subalfred::core::substrate_client: fetched 7168 pairs
2022-08-15T20:25:04.842135Z TRACE subalfred::core::substrate_client: fetched 8192 keys
2022-08-15T20:25:05.314384Z TRACE subalfred::core::substrate_client: fetched 7680 pairs
2022-08-15T20:25:05.492332Z TRACE subalfred::core::substrate_client: fetched 8704 keys
2022-08-15T20:25:05.916172Z TRACE subalfred::core::substrate_client: fetched 8192 pairs
2022-08-15T20:25:06.062907Z TRACE subalfred::core::substrate_client: fetched 9216 keys
2022-08-15T20:25:06.564933Z TRACE subalfred::core::substrate_client: fetched 8704 pairs
2022-08-15T20:25:06.741906Z TRACE subalfred::core::substrate_client: fetched 9728 keys
2022-08-15T20:25:07.183726Z TRACE subalfred::core::substrate_client: fetched 9216 pairs
2022-08-15T20:25:07.211342Z TRACE subalfred::core::substrate_client: fetched 10240 keys
2022-08-15T20:25:07.845007Z TRACE subalfred::core::substrate_client: fetched 9728 pairs
2022-08-15T20:25:08.011703Z TRACE subalfred::core::substrate_client: fetched 10752 keys
2022-08-15T20:25:08.306280Z TRACE subalfred::core::substrate_client: fetched 10240 pairs
2022-08-15T20:25:08.479804Z TRACE subalfred::core::substrate_client: fetched 11264 keys
2022-08-15T20:25:08.731996Z TRACE subalfred::core::substrate_client: fetched 10752 pairs
2022-08-15T20:25:09.589271Z TRACE subalfred::core::substrate_client: fetched 11776 keys
2022-08-15T20:25:09.894101Z TRACE subalfred::core::substrate_client: fetched 11264 pairs
2022-08-15T20:25:10.041581Z TRACE subalfred::core::substrate_client: fetched 12288 keys
2022-08-15T20:25:10.442553Z TRACE subalfred::core::substrate_client: fetched 11776 pairs
2022-08-15T20:25:10.482388Z TRACE subalfred::core::substrate_client: fetched 12800 keys
2022-08-15T20:25:11.044247Z TRACE subalfred::core::substrate_client: fetched 12288 pairs
2022-08-15T20:25:11.222029Z TRACE subalfred::core::substrate_client: fetched 13312 keys
2022-08-15T20:25:11.502503Z TRACE subalfred::core::substrate_client: fetched 12800 pairs
2022-08-15T20:25:11.690924Z TRACE subalfred::core::substrate_client: fetched 13824 keys
2022-08-15T20:25:11.957588Z TRACE subalfred::core::substrate_client: fetched 13312 pairs
2022-08-15T20:25:12.122032Z TRACE subalfred::core::substrate_client: fetched 14336 keys
2022-08-15T20:25:12.398208Z TRACE subalfred::core::substrate_client: fetched 13824 pairs
2022-08-15T20:25:12.578831Z TRACE subalfred::core::substrate_client: fetched 14848 keys
2022-08-15T20:25:12.844433Z TRACE subalfred::core::substrate_client: fetched 14336 pairs
2022-08-15T20:25:13.010246Z TRACE subalfred::core::substrate_client: fetched 15360 keys
2022-08-15T20:25:13.204253Z TRACE subalfred::core::substrate_client: fetched 14848 pairs
2022-08-15T20:25:13.351591Z TRACE subalfred::core::substrate_client: fetched 15872 keys
2022-08-15T20:25:13.664222Z TRACE subalfred::core::substrate_client: fetched 15360 pairs
2022-08-15T20:25:13.831737Z TRACE subalfred::core::substrate_client: fetched 16384 keys
2022-08-15T20:25:14.048169Z TRACE subalfred::core::substrate_client: fetched 16400 keys
2022-08-15T20:25:14.202807Z TRACE subalfred::core::substrate_client: fetched 15872 pairs
2022-08-15T20:25:14.493536Z TRACE subalfred::core::substrate_client: fetched 16384 pairs
2022-08-15T20:25:14.657506Z TRACE subalfred::core::substrate_client: fetched 16400 pairs
2022-08-15T20:25:14.906064Z TRACE subalfred::core::node::export_state: fetching from Council
2022-08-15T20:25:15.086114Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:15.266348Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:15.266455Z TRACE subalfred::core::node::export_state: fetching from Preimage
2022-08-15T20:25:15.466598Z WARN subalfred::core::substrate_client: no keys found under prefix(0xd8f314b7f4e6b095f0f8ee4656a44825) start_key()
2022-08-15T20:25:15.467718Z TRACE subalfred::core::node::export_state: fetching from Recovery
2022-08-15T20:25:15.656595Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:15.836506Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:15.836619Z TRACE subalfred::core::node::export_state: fetching from DynamicFee
2022-08-15T20:25:16.026773Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:16.226522Z TRACE subalfred::core::substrate_client: fetched 2 pairs
2022-08-15T20:25:16.226730Z TRACE subalfred::core::node::export_state: fetching from Scheduler
2022-08-15T20:25:16.396688Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:16.596613Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:16.596791Z TRACE subalfred::core::node::export_state: fetching from BagsList
2022-08-15T20:25:16.776632Z WARN subalfred::core::substrate_client: no keys found under prefix(0xdf66cf37cde77d2a63889732a23c685e) start_key()
2022-08-15T20:25:16.776899Z TRACE subalfred::core::node::export_state: fetching from Democracy
2022-08-15T20:25:16.946682Z TRACE subalfred::core::substrate_client: fetched 5 keys
2022-08-15T20:25:17.116692Z TRACE subalfred::core::substrate_client: fetched 5 pairs
2022-08-15T20:25:17.116892Z TRACE subalfred::core::node::export_state: fetching from Staking
2022-08-15T20:25:17.287338Z TRACE subalfred::core::substrate_client: fetched 23 keys
2022-08-15T20:25:17.456695Z TRACE subalfred::core::substrate_client: fetched 23 pairs
2022-08-15T20:25:17.456894Z TRACE subalfred::core::node::export_state: fetching from PhragmenElection
2022-08-15T20:25:17.606670Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:17.786677Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:17.786923Z TRACE subalfred::core::node::export_state: fetching from Identity
2022-08-15T20:25:17.956229Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:18.117034Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:18.117223Z TRACE subalfred::core::node::export_state: fetching from Tips
2022-08-15T20:25:18.296489Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:18.466616Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:18.466874Z TRACE subalfred::core::node::export_state: fetching from TransactionPayment
2022-08-15T20:25:18.626656Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:18.776514Z TRACE subalfred::core::substrate_client: fetched 2 pairs
2022-08-15T20:25:18.776724Z TRACE subalfred::core::node::export_state: fetching from Contracts
2022-08-15T20:25:18.959793Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:19.126553Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:19.126749Z TRACE subalfred::core::node::export_state: fetching from ElectionProviderMultiPhase
2022-08-15T20:25:19.305615Z TRACE subalfred::core::substrate_client: fetched 3 keys
2022-08-15T20:25:19.486336Z TRACE subalfred::core::substrate_client: fetched 3 pairs
2022-08-15T20:25:19.486457Z TRACE subalfred::core::node::export_state: fetching from Offences
2022-08-15T20:25:19.626706Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:19.776509Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:19.776703Z TRACE subalfred::core::node::export_state: fetching from Indices
2022-08-15T20:25:19.926572Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:20.086442Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:20.086611Z TRACE subalfred::core::node::export_state: fetching from Multisig
2022-08-15T20:25:20.246575Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:20.406326Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:20.406527Z TRACE subalfred::core::node::export_state: fetching from Assets
2022-08-15T20:25:20.556619Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:20.706463Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:20.706654Z TRACE subalfred::core::node::export_state: fetching from AuthorityDiscovery
2022-08-15T20:25:20.856666Z TRACE subalfred::core::substrate_client: fetched 3 keys
2022-08-15T20:25:21.006599Z TRACE subalfred::core::substrate_client: fetched 3 pairs
2022-08-15T20:25:21.006909Z TRACE subalfred::core::node::export_state: fetching from Ethereum
2022-08-15T20:25:21.162669Z TRACE subalfred::core::substrate_client: fetched 201 keys
2022-08-15T20:25:21.369735Z TRACE subalfred::core::substrate_client: fetched 201 pairs
2022-08-15T20:25:21.371834Z TRACE subalfred::core::node::export_state: fetching from Bounties
2022-08-15T20:25:21.506369Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:21.656594Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:21.656822Z TRACE subalfred::core::node::export_state: fetching from Aura
2022-08-15T20:25:22.186637Z TRACE subalfred::core::substrate_client: fetched 3 keys
2022-08-15T20:25:22.357057Z TRACE subalfred::core::substrate_client: fetched 3 pairs
2022-08-15T20:25:22.357372Z TRACE subalfred::core::node::export_state: fetching from ImOnline
2022-08-15T20:25:22.526503Z TRACE subalfred::core::substrate_client: fetched 3 keys
2022-08-15T20:25:22.686644Z TRACE subalfred::core::substrate_client: fetched 3 pairs
2022-08-15T20:25:22.686983Z TRACE subalfred::core::node::export_state: fetching from Vesting
2022-08-15T20:25:22.856607Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:23.036559Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:23.036739Z TRACE subalfred::core::node::export_state: fetching from RandomnessCollectiveFlip
2022-08-15T20:25:23.196638Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:23.507242Z TRACE subalfred::core::substrate_client: fetched 2 pairs
2022-08-15T20:25:23.507543Z TRACE subalfred::core::node::export_state: fetching from Proxy
2022-08-15T20:25:23.646626Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:23.806592Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:23.806789Z TRACE subalfred::core::node::export_state: fetching from Treasury
2022-08-15T20:25:23.956601Z TRACE subalfred::core::substrate_client: fetched 1 keys
2022-08-15T20:25:24.116277Z TRACE subalfred::core::substrate_client: fetched 1 pairs
2022-08-15T20:25:24.116448Z TRACE subalfred::core::node::export_state: fetching from Balances
2022-08-15T20:25:24.256746Z TRACE subalfred::core::substrate_client: fetched 4 keys
2022-08-15T20:25:24.406547Z TRACE subalfred::core::substrate_client: fetched 4 pairs
2022-08-15T20:25:24.406778Z TRACE subalfred::core::node::export_state: fetching from EVM
2022-08-15T20:25:24.567000Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:24.746366Z TRACE subalfred::core::substrate_client: fetched 2 pairs
2022-08-15T20:25:24.746476Z TRACE subalfred::core::node::export_state: fetching from TreasuryReward
2022-08-15T20:25:24.906703Z TRACE subalfred::core::substrate_client: fetched 3 keys
2022-08-15T20:25:25.076617Z TRACE subalfred::core::substrate_client: fetched 3 pairs
2022-08-15T20:25:25.076840Z TRACE subalfred::core::node::export_state: fetching from Sudo
2022-08-15T20:25:25.226653Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:25.396303Z TRACE subalfred::core::substrate_client: fetched 2 pairs
2022-08-15T20:25:25.396500Z TRACE subalfred::core::node::export_state: fetching from BaseFee
2022-08-15T20:25:25.560632Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:25.706521Z TRACE subalfred::core::substrate_client: fetched 2 pairs
2022-08-15T20:25:25.706681Z TRACE subalfred::core::node::export_state: fetching from Timestamp
2022-08-15T20:25:25.856625Z TRACE subalfred::core::substrate_client: fetched 2 keys
2022-08-15T20:25:26.006451Z TRACE subalfred::core::substrate_client: fetched 2 pairs
✓ fully exported 16677 pairs, takes 33s All done! The subalfred was able to extract keys that have been migrated |
Fulfilled in #28 and merged already. |
Issue for tracking the erup-5-latest runtime upgrade
The text was updated successfully, but these errors were encountered: