-
Notifications
You must be signed in to change notification settings - Fork 481
test refactored #2746
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
base: master
Are you sure you want to change the base?
test refactored #2746
Conversation
|
|
||
| - **[`flipper`](basics/flipper)**: The classic "Hello World" of smart contracts. A simple boolean value you can flip. | ||
| - **[`incrementer`](basics/incrementer)**: Demonstrates simple state mutation with integers. | ||
| - **[`dns`](basics/dns)**: Shows how to use the storage `Mapping` type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we put this under the folder use-case
| - **[`incrementer`](basics/incrementer)**: Demonstrates simple state mutation with integers. | ||
| - **[`dns`](basics/dns)**: Shows how to use the storage `Mapping` type. | ||
| - **[`events`](basics/events)**: Examples of defining and emitting events. | ||
| - **[`terminator`](basics/terminator)**: How to remove a contract from storage using `terminate`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we put this under the folder operations
| - **[`call-contract`](runtime/call-contract)**: The runtime calling into a contract. | ||
| - **[`e2e-call`](runtime/e2e-call)**: A contract calling a runtime dispatchable (pallet function). | ||
| - **[`xcm`](runtime/xcm)**: Cross-Consensus Messaging examples. | ||
| - **[`precompile`](runtime/precompile)**: interacting with runtime precompiles. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assets-precompile example should be here as well.
| - **[`lazyvec`](storage/lazyvec)**: Using `Lazy` vector types for gas optimization. | ||
| - **[`allocator`](storage/allocator)**: Using a custom heap allocator (e.g., `bumpalo`). | ||
|
|
||
| ### Runtime & Chain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Precompiles
| ### Advanced | ||
| *Complex patterns and niche features.* | ||
|
|
||
| - **[`upgradeable`](advanced/upgradeable)**: Contracts that can upgrade their own code (`set_code_hash`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the folder operations
| - **[`fuzzing`](advanced/fuzzing)**: Setup for property-based fuzz testing. | ||
| - **[`debugging`](advanced/debugging)**: Techniques for interpreting debug buffers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be in the folder testing
Summary
Closes #_
cargo-contractorpallet-revive?Description
Checklist before requesting a review
CHANGELOG.md