pendulum-chain / pendulum-solidity-wrapper

A collection of Solidity wrapper contracts emulating common ERC interfaces to grant access to runtime features on Pendulum.
GNU General Public License v3.0
0 stars 0 forks source link

Redefine chain extension ids after introduction of chain extension tuples #42

Closed TorstenStueber closed 6 months ago

TorstenStueber commented 7 months ago

With https://github.com/pendulum-chain/pendulum/pull/437 our runtimes now use multiple chain extensions. That means that we need to also specify the chain extension id whenever we call a chain extension. The id we specify when calling a chain extension is determines as follows:

(<chain extension id> << 16 + <function id>)

We us the following chain extension ids: