axonweb3 / axon

Axon is a Layer 2 framework of CKB with native cross-chain and interoperability.
https://axonweb3.io
MIT License
65 stars 39 forks source link

feat(axon-tools): add precompile payload codec #1607

Closed KaoImin closed 9 months ago

KaoImin commented 9 months ago

What this PR does / why we need it?

This PR add verify_cmbt_proof precompile payload struct to axon-tools.

What is the impact of this PR?

No Breaking Change

PR relation:

CI Settings
### **CI Usage** **Tip**: Check the CI you want to run below, and then comment `/run-ci`. **CI Switch** - [ ] Web3 Compatible Tests - [ ] OCT 1-5 And 12-15 - [ ] OCT 6-10 - [ ] OCT 11 - [ ] OCT 16-19 - [ ] v3 Core Tests ### **CI Description** | CI Name | Description | | ----------------------------------------- | ------------------------------------------------------------------------- | | *Web3 Compatible Test* | Test the Web3 compatibility of Axon | | *v3 Core Test* | Run the compatibility tests provided by Uniswap V3 | | *OCT 1-5 \| 6-10 \| 11 \| 12-15 \| 16-19* | Run the compatibility tests provided by OpenZeppelin |
ashuralyk commented 9 months ago

what about moving verification process into axon-tools and reference it to axon's precompile module, so relayer can execute this verification before sending proofs to solidity