Skip to content

Commit

Permalink
Update arbitrum-docs/launch-orbit-chain/how-tos/customize-precompile.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Mahsa Moosavi <mahsa.msv1991@gmail.com>
  • Loading branch information
Jason-W123 and mahsamoosavi committed Oct 17, 2023
1 parent cc89b30 commit 1e8b395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ type ArbSys struct {

// Add your customize event here:
Hi func(ctx, mech, addr) error
// This is needed which will tell you how much gas it will cost, the param is the same as your event but without the first two (ctx, mech), the return param is always (uint64, error)
// This is needed and will tell you how much gas it will cost, the param is the same as your event but without the first two (ctx, mech), the return param is always (uint64, error)
HiGasCost func(addr) (uint64, error)
}
```
Expand Down

0 comments on commit 1e8b395

Please sign in to comment.