Closed NorseGaud closed 5 years ago
Even tried
cleos --wallet-url unix:///tmp/nodeos-data-dir/keosd.sock set contract eosio.system /tmp/nodeos-data-dir/eosio.contracts/build/contracts/eosio.system -p eosio@active
Failed to get existing code hash, continue without duplicate check...
Reading WASM from /private/tmp/nodeos-data-dir/eosio.contracts/build/contracts/eosio.system/eosio.system.wasm...
Publishing contract...
Error 3090004: Missing required authority
Ensure that you have the related authority inside your transaction!;
If you are currently using 'cleos push action' command, try to add the relevant authority using -p option.
Error Details:
missing authority of eosio
cleos --wallet-url unix:///tmp/nodeos-data-dir/keosd.sock set contract eosio.system /tmp/nodeos-data-dir/eosio.contracts/build/contracts/eosio.system -p default@active
Failed to get existing code hash, continue without duplicate check...
Reading WASM from /private/tmp/nodeos-data-dir/eosio.contracts/build/contracts/eosio.system/eosio.system.wasm...
Publishing contract...
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.
Error Details:
transaction declares authority '{"actor":"default","permission":"active"}', but does not have signatures for it.
Ok, I see something off... setting the system contract says to specify eosio
for the account. Yet, that errors.
cleos --wallet-url unix:///tmp/nodeos-data-dir/keosd.sock set contract eosio /tmp/nodeos-data-dir/eosio.contracts/build/contracts/eosio.system
Reading WASM from /private/tmp/nodeos-data-dir/eosio.contracts/build/contracts/eosio.system/eosio.system.wasm...
Publishing contract...
Error 3070000: WASM Exception
Error Details:
env.is_feature_activated unresolveable
pending console output:
Update: https://eosio.stackexchange.com/questions/4659/env-is-feature-activated-error-when-set-contract
Looks like the bios contract needs to come before any of these other contracts.
Following https://developers.eos.io/eosio-nodeos/docs/bios-boot-sequence Old issue related to this: https://github.com/EOSIO/eos/issues/4518
in my config.ini: