Skip to content

Commit

Permalink
Update PrecompileGen tutorial to use create precompile script (#1196)
Browse files Browse the repository at this point in the history
* Update PrecompileGen tutorial to use create precompile script

* Rename script

---------

Co-authored-by: Yulin Dong <yulin.dong@avalabs.org>
  • Loading branch information
aaronbuchwald and yulin-dong authored Feb 6, 2023
1 parent 6cc6ec4 commit 490def6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/subnets/hello-world-precompile-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Let's go back to the root of the Subnet-EVM repository and run the PrecompileGen
```bash
cd $GOPATH/src/github.com/ava-labs/subnet-evm

go run ./cmd/precompilegen/main.go --abi ./contract-examples/contracts/IHelloWorld.abi --type HelloWorld --pkg precompile --out ./precompile/hello_world.go
./scripts/generate_precompile.sh --abi ./contract-examples/contracts/IHelloWorld.abi --type HelloWorld --pkg precompile --out ./precompile/hello_world.go
```

<!-- markdownlint-enable MD013 -->
Expand Down

0 comments on commit 490def6

Please sign in to comment.