internet-computer-protocol / evm-rpc-canister

Interact with EVM blockchains from the Internet Computer.
https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview
Apache License 2.0
63 stars 13 forks source link

Replace authorization bitwise operations with `AuthSet` #69

Closed rvanasa closed 11 months ago

rvanasa commented 11 months ago

This PR reworks the original authorization logic by introducing a more robust AuthSet abstraction using a vector in place of a bit field. The new stable memory representation uses JSON serialization for invariance with respect to the order of the Auth enum values.