Scripts/yes-wallet: Make it works on testnets
The following discussion from !4560 (merged) should be addressed:
-
@vivienpe started a discussion: (+3 comments) When I try to run the command, an error is triggered. Here is how I proceed:
rm ~/.tezos-node ./tezos-node config init --rpc-addr localhost --network hangzhounet wget https://hangzhounet.xtz-shots.io/hangzhounet-740746.rolling ./tezos-node snapshot import hangzhounet-740746.rolling --block BLsWaedBMvMCQ9LmfRxJfgPgTGYfnBnA2gs2PRFXmQFJSAYJyZn ./tezos-node run # I wait until the node is bootstrapped dune exec scripts/yes-wallet/yes_wallet.exe -- create from context ~/.tezos-node in ./yes-wallet --active-bakers-only
Fatal error: exception Index.RO_not_allowed Raised at Index.Make_private.replace' in file "src/index.ml", line 989, characters 30-50 Called from Index.Make_private.replace in file "src/index.ml" (inlined), line 1013, characters 12-55 Called from Irmin_pack_unix__Pack_index.Make.add in file "src/irmin-pack/unix/pack_index.ml", line 62, characters 30-55 Called from Irmin_pack_unix__Pack_store.Maker.Make_without_close_checks.unsafe_append.unguarded_append in file "src/irmin-pack/unix/pack_store.ml", line 473, characters 12-68 Called from Irmin_pack_unix__Pack_store.Maker.Make_without_close_checks.unsafe_add in file "src/irmin-pack/unix/pack_store.ml" (inlined), line 489, characters 6-66 Called from Irmin_pack_unix__Pack_store.Maker.Make_without_close_checks.add in file "src/irmin-pack/unix/pack_store.ml", line 491, characters 18-45 Called from Irmin__Store.Make.Commit.v.(fun) in file "src/irmin/store.ml", line 178, characters 17-40 Called from Irmin_pack_unix__Pack_store.Maker.Make_without_close_checks.batch in file "src/irmin-pack/unix/pack_store.ml", line 431, characters 15-25 Called from Irmin_pack_unix__Pack_store.Maker.Make_without_close_checks.batch in file "src/irmin-pack/unix/pack_store.ml", line 431, characters 15-25 Called from Irmin_pack_unix__Pack_store.Maker.Make_without_close_checks.batch in file "src/irmin-pack/unix/pack_store.ml", line 431, characters 15-25 Called from Tezos_context__Context.Make.raw_commit in file "src/lib_context/context.ml", line 325, characters 13-74 Called from Tezos_context__Context.Make.commit_genesis in file "src/lib_context/context.ml", line 692, characters 19-59 Called from Tezos_store__Store.init in file "src/lib_store/store.ml", line 2655, characters 27-51 Called from Yes_wallet_lib.load_mainnet_bakers_public_keys in file "scripts/yes-wallet/yes_wallet_lib.ml", line 462, characters 4-206 Called from Yes_wallet_lib.load_mainnet_bakers_public_keys in file "scripts/yes-wallet/yes_wallet_lib.ml", line 520, characters 6-112 Called from Dune__exe__Yes_wallet in file "scripts/yes-wallet/yes_wallet.ml", line 221, characters 8-130
I have got the same error on
master
. Am I doing wrong ? Doesyes-wallet
is broken ?