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

Document cast send/call <calldata> #54

Closed
onbjerg opened this issue Feb 23, 2022 · 2 comments · Fixed by #184
Closed

Document cast send/call <calldata> #54

onbjerg opened this issue Feb 23, 2022 · 2 comments · Fixed by #184
Labels
A-cast Area: cast A-reference Area: reference good first issue Good for newcomers T-new Type: new docs

Comments

@onbjerg
Copy link
Member

onbjerg commented Feb 23, 2022

It is now possible to also just pass raw calldata directly to cast send and cast call, see foundry-rs/foundry#742

@onbjerg onbjerg added T-enhancement Type: enhance existing docs good first issue Good for newcomers A-cast Area: cast A-reference Area: reference labels Feb 23, 2022
@onbjerg onbjerg moved this to Todo in Foundry Book Feb 23, 2022
@onbjerg onbjerg added T-new Type: new docs and removed T-enhancement Type: enhance existing docs labels Feb 23, 2022
@Perelyn-sama
Copy link
Contributor

When I run
cast call --rpc-url <rpc_url> --private-key <private_key> 0x755d906c221f74170d2d81a95535fa2d470cdd5c "ownerOf(uint256)" 0

I get
0x0000000000000000000000000000000000000000000000000000000000000000

an empty address instead of the owner of the first item

And yes I've minted the first item, check it out https://rinkeby.etherscan.io/token/0x755d906c221f74170d2d81a95535fa2d470cdd5c

@onbjerg
Copy link
Member Author

onbjerg commented Mar 31, 2022

It was a typo, fixed here 2cb164b

@onbjerg onbjerg self-assigned this Apr 6, 2022
@onbjerg onbjerg moved this from Todo to In Progress in Foundry Book Apr 7, 2022
@onbjerg onbjerg removed their assignment Apr 9, 2022
@onbjerg onbjerg linked a pull request Apr 9, 2022 that will close this issue
16 tasks
Repository owner moved this from In Progress to Done in Foundry Book Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cast Area: cast A-reference Area: reference good first issue Good for newcomers T-new Type: new docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants