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

Add comments to precompile howto #654

Merged
merged 7 commits into from
Oct 10, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import PublicPreviewBannerPartial from '../partials/_orbit-public-preview-banner

<PublicPreviewBannerPartial />

⚠️⚠️⚠️ The tutorial only works when you use eth_call to call the new precompiles, if you want to add non-view/pure methods or call from other contracts, it will break validation, but we will have `how to update the wasm module root tutorial` to fix this soon. If you want to test modifying the STS before we have instructions for wasm module root generation, you can add command `--node.staker.dangerous.without-block-validator` when you start the node.

There are two ways to customize your chain's precompiles:

1. Add new methods to an existing [precompile][precompile_impl_dir_link].
Expand Down