foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
279 stars 138 forks source link

Pad the contract/account addresses and class hashes in the output #2248

Open Arcticae opened 1 week ago

Arcticae commented 1 week ago

Which components does the task require to be changed? (think hard pls)

sncast

Description

Wallets don't do this by their own and we should make sure we output the addresses not only correct numerically, but also correct in the terms of their length. They should be padded with zeros for display (especially for hex format).