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

Axon Development Updates 05/17/2023 #1190

Closed
peterzhb opened this issue May 17, 2023 · 5 comments
Closed

Axon Development Updates 05/17/2023 #1190

peterzhb opened this issue May 17, 2023 · 5 comments
Labels

Comments

@peterzhb
Copy link
Contributor

peterzhb commented May 17, 2023

sf_sunset

Sunset of San Francisco taken from the Grizzly Peak.


What we have accomplished

Several configuration fixes and dependency version upgrades got completed in the last three weeks!

🥳 Axon now supports rpc calls to get block and proof by block ID! ‣

👌🏻 We’ve finished the initial development of several modules for Axon Spark, the kicker for Axon.

  • Storage module has been developed and merged feat(storage): add smt and relational storage spark#8. It includes both the smt and sqlite to store the staking information.
    • smt: stores staker, delegator, reward and proposal information of all epochs for axon chain.
    • sqlite: stores all axon staking, delegating, withdrawing transaction history. It is worth notice that the transactions happen on CKB.
  • Query module has been developed and merged feat(api): add history status api module spark#10. It defines the query APIs that handle the requests from the frontend.
  • Staking transaction structure has been constructed feat: fill in transaction data spark#9. It puts together the data required to construct the staking transaction.

🧑‍🎨 On the frontend side, we’ve closed several rounds of UI design.

What we are doing?

  • Intensively developing all kinds of transactions and related contracts for staking, delegating, and withdrawing.

  • Finalizing our website design and development.

  • Then we will be conducting integrated tests and preparing for the release afterwards!

Stay tuned!

@KaoImin KaoImin pinned this issue May 18, 2023
@matt-nervos
Copy link

had one question regarding this: "smt: stores staker, delegator, reward and proposal information of all epochs for axon chain."

is this data structure append-only?

@KaoImin
Copy link
Contributor

KaoImin commented May 19, 2023

had one question regarding this: "smt: stores staker, delegator, reward and proposal information of all epochs for axon chain."

is this data structure append-only?

Yes, the data is append only.

@matt-nervos
Copy link

had one question regarding this: "smt: stores staker, delegator, reward and proposal information of all epochs for axon chain."
is this data structure append-only?

Yes, the data is append only.

what's the advantage to using SMT over MMR?

@driftluo
Copy link
Contributor

Strictly speaking, stores staker, delegate, and reward are not pure append-only data. They can be added or deleted at will during the unfinished period of an epoch. Only when the epoch is over and the settlement is completed, can it be regarded as real freeze data. mmr is friendly to append-only data, but it cannot be added or deleted at will

@matt-nervos
Copy link

thanks for explaining @driftluo this does make the decision clearer for me

@KaoImin KaoImin unpinned this issue May 31, 2023
@KaoImin KaoImin closed this as completed Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants