Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example A does not work #179

Open
fmhall opened this issue Sep 30, 2024 · 1 comment
Open

Example A does not work #179

fmhall opened this issue Sep 30, 2024 · 1 comment

Comments

@fmhall
Copy link

fmhall commented Sep 30, 2024

Environment information

  • Operating System: Mac
  • Supersim Version: untagged, installed latest from brew, so likely v0.1.0.alpha.13

Foundry version.
forge 0.2.0 (25f24e6 2024-09-30T00:22:05.952969000Z)

Describe the bug
Balance does not increase in example A

Steps to reproduce

~ supersim --version
supersim version untagged
➜  ~ supersim

# on new tab:~ cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --rpc-url http://127.0.0.1:9545
10000000000000000000000
➜  ~ cast send 0xa01ae68902e205B420FD164435F299E07b0C778b "bridgeETH(uint32 _minGasLimit, bytes calldata _extraData)" 50000 0x --value 0.1ether --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

blockHash               0xc2d0f449e709d6c289ae738de7196e6bc8be618ae5bb197c3d933b7a278e9fdb
blockNumber             13
contractAddress
cumulativeGasUsed       21484
effectiveGasPrice       201417241
from                    0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
gasUsed                 21484
logs                    []
logsBloom               0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
root                    0x014f57f0cd58bc608e1b680ba7f3a11587d93109cec2b9cef203558c0b818e54
status                  1 (success)
transactionHash         0x719a442063d4772723106f054acb7e1af7c60c118b06546d6025525818ff00b9
transactionIndex        0
type                    2
blobGasPrice            1
blobGasUsed
authorizationList
to                      0xa01ae68902e205B420FD164435F299E07b0C778b
➜  ~ cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --rpc-url http://127.0.0.1:9545
10000000000000000000000
➜  ~ python -c "print(10000000000000000000000 - 10000000000000000000000)"
0
@fmhall
Copy link
Author

fmhall commented Sep 30, 2024

Seems like the fact that the brew/tap install's version is untagged is also a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant