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 a series of tutorials on how to optimize gas #454

Open
1 task done
jackleeio opened this issue Mar 13, 2024 · 2 comments
Open
1 task done

Add a series of tutorials on how to optimize gas #454

jackleeio opened this issue Mar 13, 2024 · 2 comments
Labels
ACCEPTED Accepted issue and will be fixed/improved in a future version enhancement New feature or request external contributor This label marks the issues connected to Dework

Comments

@jackleeio
Copy link
Contributor

Describe the feature or improvement 描述新特性或改进

Add a comprehensive gas optimization tutorial for developers to use

Optional: Affected page(s) or section(s) 受影响的页面

https://www.confluxdocs.com/docs/category/smart-contracts

Optional: Why is this feature or improvement important? 为什么需要这个新特性或改进?

make the documentation more comprehensive and developer-friendly, make it easier for contract developers to write high-quality smart contracts

Optional: Implementation ideas 如何实现

Add a series of tutorials on to the smart contract part, and then slowly update the tutorials by community developers
WechatIMG222

Optional: Additional context 其他上下文信息

No response

Contribution Confirmation

  • I'd be willing to contribute this feature myself within 2 months. 我将在两个月内自己实现这个feature
@jackleeio jackleeio added external contributor This label marks the issues connected to Dework enhancement New feature or request labels Mar 13, 2024
@darwintree darwintree added the ACCEPTED Accepted issue and will be fixed/improved in a future version label Mar 14, 2024
@darwintree
Copy link
Collaborator

It's a nice idea. And related comments are left in the pull request #453

jackleeio added a commit to ConfluxDAO/conflux-documentation that referenced this issue Mar 14, 2024
darwintree added a commit that referenced this issue Mar 14, 2024
* update general/conflux-basics gas.md

* update general/conflux-basics/gas.md, regarding the issue #451

* Add a gas optimization tutorial entry, regarding the issue #454

* Update docs/general/build/smart-contracts/introduction-to-smart-contracts.md

Co-authored-by: darwintree <17946284+darwintree@users.noreply.github.com>

---------

Co-authored-by: darwintree <17946284+darwintree@users.noreply.github.com>
jackleeio added a commit to ConfluxDAO/conflux-documentation that referenced this issue Mar 15, 2024
jackleeio added a commit to ConfluxDAO/conflux-documentation that referenced this issue Mar 15, 2024
jackleeio added a commit to ConfluxDAO/conflux-documentation that referenced this issue Mar 24, 2024
darwintree pushed a commit that referenced this issue Mar 27, 2024
…issue#454 (#457)

* update general/build/smart-contracts/gas-optimization, regarding the issue #454

* add related solidity official document link
@darwintree
Copy link
Collaborator

The pull requests till now are all reviewed. But some of them are not possible to be merged because of conflicts. I would recommend your fixing the conflicts so they would get merged

darwintree pushed a commit that referenced this issue Mar 28, 2024
darwintree pushed a commit that referenced this issue Mar 28, 2024
…optimization (#482)

* add bitmap and bitwise operations

* update bitmap
darwintree added a commit that referenced this issue Mar 28, 2024
…as-optimization (#487)

* update general/conflux-basics/glossary.md, regarding the issue #455

* Update docs/general/conflux-basics/glossary.md

Co-authored-by: darwintree <17946284+darwintree@users.noreply.github.com>

* Update glossary.md

* add packing in gas-optimization

---------

Co-authored-by: darwintree <17946284+darwintree@users.noreply.github.com>
darwintree added a commit that referenced this issue Mar 29, 2024
…as-optimization (#493)

* update general/conflux-basics/glossary.md, regarding the issue #455

* Update docs/general/conflux-basics/glossary.md

Co-authored-by: darwintree <17946284+darwintree@users.noreply.github.com>

* Update glossary.md

* add short-circuiting in gas-optimization

* update shortCircuit

---------

Co-authored-by: darwintree <17946284+darwintree@users.noreply.github.com>
darwintree pushed a commit that referenced this issue Apr 1, 2024
…ation (#496)

* add clone in gas-optimization

* update clone in gas-optimization
darwintree pushed a commit that referenced this issue May 11, 2024
…ization (#573)

* added sstore2 to gas-optimization

* updated sstore2.md

* updated sstore2.md
darwintree pushed a commit that referenced this issue May 16, 2024
…-contracts/gas-optimization (#588)

* added timestamp-and-blocknumbers to gas-optimization

* updated timestamps-and-blocknumbers
darwintree pushed a commit that referenced this issue May 17, 2024
…/gas-optimization (#587)

* added Non-Zero Balances to gas-optimization

* updated Non-Zero Balances

* revised based on the feedback
darwintree pushed a commit that referenced this issue May 17, 2024
…as-optimization (#591)

* added storagePointer to gas-optimization

* updated storage-pointer

* updated storage-pointer.md
darwintree pushed a commit that referenced this issue May 21, 2024
…-contracts/gas-optimization (#596)

* added predicting-contract-address to gas-optimization

* updated title

* added predicting-contract-address to gas-optimzation
darwintree pushed a commit that referenced this issue Jun 6, 2024
…optimization (#602)

* added self-destruct to gas-optimization

* updated self-destruct
darwintree pushed a commit that referenced this issue Jun 6, 2024
…ts/gas-optimization (#601)

* added modifierAndInternal to gas-optimization

* updated modifierAndInternel
darwintree pushed a commit that referenced this issue Jun 27, 2024
darwintree pushed a commit that referenced this issue Jun 28, 2024
…racts/gas-optimization (#619)

* added multicall-in-router to gas-optimization

* updated multicall-in-router.md

* update multicall-in-router.md

* update title

* update demo code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACCEPTED Accepted issue and will be fixed/improved in a future version enhancement New feature or request external contributor This label marks the issues connected to Dework
Projects
None yet
Development

No branches or pull requests

2 participants