eosnetworkfoundation / evm-bridge-contracts

Contracts to support the trustless bridge of the EOS EVM
Other
1 stars 2 forks source link

Allow upgrade implementation #45

Closed yarkinwho closed 3 months ago

yarkinwho commented 4 months ago

There's several problems:

  1. Currently the upgradeto call will only allow one row in the table, though all the code else actually anticipate it to be a normal table and try to read the last row for latest implementation.

We should fix it.

  1. Currently if we want to upgrade deployed ERC20 contract, we need a call FROM erc2o.eosio to the upgrade API of the ERC20 contract. But we have not provided such a way.