OpenZeppelin / polkadot-runtime-templates

Runtime Templates for Polkadot Parachains
GNU General Public License v3.0
72 stars 23 forks source link

🐞 [Bug]: Improve EVM compatibility by having `eth` accounts #319

Closed ozgunozerk closed 1 month ago

ozgunozerk commented 2 months ago

templates

What happened?

Quoting from @evilrobot-01 (Frank):

the PJS apps metadata shows the chain type as 'substrate' rather than 'ethereum'. This is both due to the fact that the dev chainspec config doesnt add the properties to the builder, and it is missing the 'isEthereum' property. The latter enables the Eth dev accounts in the UI for a better experience, but they are then empty as the chainspec funds Alice rather than Alith, an undocumented convention.

https://github.com/moonbeam-foundation/moonbeam/tree/master?tab=readme-ov-file#prefunded-development-addresses gives a listing of the dev accounts if you want to follow that convention.

Thanks a lot Frank for this issue!

Expected behavior

No response

Contribution Guidelines