EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

Error: env.set_proposed_producers_ex unresolveable after Preactivation_feature #9148

Closed HassanAmed closed 4 years ago

HassanAmed commented 4 years ago

I followed this https://developers.eos.io/welcome/latest/tutorials/bios-boot-sequence and after activating PPREACTIVATE_FEATURE eosio.system contract cannot be set and throws error Error 3070000: WASM Exception Error Details: env.set_proposed_producers_ex unresolveable Expected behavior : eosio.system contract should be set [Note] In release notes this is written _The eosio.system and eosio.bios contracts contained in this release can only be deployed on an EOSIO blockchain after the activation of the WTMSIG_BLOCKSIGNATURES consensus protocol upgrade. but how is it possible to activate WTMSIG_BLOCK_SIGNATURES before setting system contract

HassanAmed commented 4 years ago

As per release notes of eosio.contracts v1.9 here It is stated that in order to activate WTMSIG you need to first deploy an older version of eosio.bios contract which is the right way except for one thing we need to older bios contract does not allow us to activate WTMSIG and ends up giving error API Error Details: eosio.bios does not have permission to call this API so what i did to activate it

  1. Deploy older eosio.system contract (1.8.x or 1.7.x)
  2. Activate WTMSIG
  3. Clear older contract using cleos set contract --clear
  4. Deploy latest eosio.system contract
HassanAmed commented 4 years ago

Maybe this should be updated in either release notes or bios boot sequence to avoid confusion.