You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All sncast account commands I tried print the address with 63 characters after 0x. There should be 64 characters(32 bytes). Accounts are missing a zero after 0x. This is a simple error, but can make people that are unaware loose time since pasting this address on block explorers or faucets gives you an error about the address being invalid.
Trace
Output of sncast account create on Sepolia
command: account create
add_profile: --add-profile flag was not set. No profile added to snfoundry.toml
address: 0x56dda3be03ae9013f6c6cafaede2834c524018164a6a42218c288aa544eeb8e
max_fee: 6048364968880
message: Account successfully created. Prefund generated address with at least <max_fee> STRK tokens or an equivalent amount of ETH tokens. It is good to send more in the case of higher demand.
Is there an existing issue for this?
I have searched the existing issues and verified no issue exits for this problem.
The text was updated successfully, but these errors were encountered:
<!-- Reference any GitHub issues resolved by this PR -->
Closes#2248Closes#2424
## Introduced changes
<!-- A brief description of the changes -->
- Addresses used in `sncast account create`, `sncast declare` and
`sncast deploy` are now correctly padded to 66 (64 after `0x`)
characters length.
## Checklist
<!-- Make sure all of these are complete -->
- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
---------
Co-authored-by: ddoktorski <[email protected]>
Which component is your bug related to?
sncast
Foundry Version
0.28.0
What operating system are you using?
MacOS
What system architecture are you using?
x86
What happened
All
sncast account
commands I tried print the address with 63 characters after0x
. There should be 64 characters(32 bytes). Accounts are missing a zero after0x
. This is a simple error, but can make people that are unaware loose time since pasting this address on block explorers or faucets gives you an error about the address being invalid.Trace
Output of
sncast account create
on SepoliaIs there an existing issue for this?
The text was updated successfully, but these errors were encountered: