OffchainLabs / OffchainLabs/arbitrum-docs
Docs update request: /stylus-by-example/basic_examples/events
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 252
- Forks
- 453
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 27
Description
Source: https://docs.arbitrum.io/stylus-by-example/basic_examples/events
Request:
The doc on logging says that:
Using the
evm::logfunction in the Stylus SDK is the preferred way to log events.
However, the SDK returns a deprecation notice for that method and notifies users they should use stylus_sdk::core::log as seen in this code example:
stylus_sdk::stylus_core::log(
self.vm(),
EtherReceived {
sender,
amount,
method: "fallback".to_string(),
},
);
I believe the Logging docs need to get updated accordingly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.