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

Synchronize latest code #2752

Closed
wants to merge 25 commits into from
Closed

Synchronize latest code #2752

wants to merge 25 commits into from

Conversation

wow-sven
Copy link
Collaborator

Summary

Summary about this PR

  • Closes #issue

jolestar and others added 25 commits September 30, 2024 23:24
* [gas_market] Fix AdminCap and release gas_market v1

* fixup
* [release] Prepare release v0.7.3

* [cli] Fix run function require password
Bumps [const-hex](https://github.com/danipopes/const-hex) from 1.13.0 to 1.13.1.
- [Commits](DaniPopes/const-hex@v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: const-hex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* use HashMap::with_capacity

* use HashSet::with_capacity

* use Vec::with_capacity

* fix fmt
Bumps [axum](https://github.com/tokio-rs/axum) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](tokio-rs/axum@axum-v0.7.6...axum-v0.7.7)

---
updated-dependencies:
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite) from 0.23.1 to 0.24.0.
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/snapview/tokio-tungstenite/commits/v0.24.0)

---
updated-dependencies:
- dependency-name: tokio-tungstenite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.30...0.3.31)

---
updated-dependencies:
- dependency-name: futures-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.1 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](matklad/once_cell@v1.20.1...v1.20.2)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [k8s] faucet deployment

* [deployment] Testnet deployment

* [deployment] mainnet deployment

* update traffic arguments

* fixup

* faucet service

* Update ingress config

* managed cert

* fixup

* fix traffic-per-second
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.86...1.0.87)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.30...0.3.31)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pin-project](https://github.com/taiki-e/pin-project) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md)
- [Commits](taiki-e/pin-project@v1.1.5...v1.1.6)

---
updated-dependencies:
- dependency-name: pin-project
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tiny-bip39](https://github.com/maciejhirsz/tiny-bip39) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/maciejhirsz/tiny-bip39/releases)
- [Changelog](https://github.com/maciejhirsz/tiny-bip39/blob/master/CHANGELOG.md)
- [Commits](maciejhirsz/tiny-bip39@v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: tiny-bip39
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
add doc & log
* support main net

* update rpc version

* updata sdk version

* support main net

* update rpc version

* updata sdk version

* Update openrpc.json

* updata sdk rpc

* fix version

* update sdk version to 0.2.6

* fix version
* [draft] babylon integration

* derive babylon utxo

* fix: build

* format code and fix build

* Update docs

---------

Co-authored-by: mx819812523 <mx819812523@gamil.com>
Co-authored-by: jolestar <jolestar@gmail.com>
…improve robust of DA submission (#2731)

* wip: refactor da/proposer

* feat(rooch-types): add DA batch and chunk serialization

Introduce DA batch structures and implement chunk serialization logic.
Moved DA-related modules to rooch-types and updated dependencies.

* feat(rooch-store): add DA store for block submission tracking

Introduce DAMetaDBStore to handle DA block submission and cursors. Refactor tests and configuration to integrate new DA store functionalities.

* fix(rooch-sequencer): correct typo and add TODO for transaction

Corrected a typo in the sequencer initialization comment and added a TODO note to save sequencer_info and transaction in a single transaction. This change ensures clarity in the code and highlights a necessary improvement.

* docs(rooch-da): update DA server responsibilities in README

Revised README to clarify DA server responsibilities and structure. Removed outdated internal and Celestia server README files.

* refactor(rooch-da): rename DABatch constructors

Renamed DABatch constructors for clarity. 'new' is now 'new_no_sign' and 'new_with_sign' is now 'new' to better reflect their functionality.

* refactor(rooch-config): rename InternalDAServerConfig to DABackendConfig

Renamed InternalDAServerConfig and associated types to DABackendConfig for clarity and consistency. Updated related references in scripts and configuration files accordingly.

* feat(rooch-da): simplify DA backend and message handling

Remove actor and message handling layers for DA backend, and streamline Celestia and OpenDA backend logic. This refactor reduces complexity and improves maintainability by consolidating DA backend responsibilities.

* chore

* feat(rooch-store): enhance block range calculations

Improve block range calculations for better handling of tx order continuity and maximum transactions per block constraint. Adjust test cases to validate changes and ensure accurate block range partitioning.

* feat(rooch-da): add new constructor for DABatchMeta

Added a constructor for DABatchMeta to initialize its fields. Also, updated SignedDABatchMeta and DABatch to include meta_signature field.

* fix(rooch-store): reduce MAX_TXS_PER_BLOCK_IN_FIX

Update MAX_TXS_PER_BLOCK_IN_FIX to 8192 to prevent OOM errors during block submission fixes. This change helps manage memory usage more effectively.

* feat(rooch-da): implement batch metadata signing and submission

Update batch message structure, return type, and implement batch metadata signing. Introduce background submission logic and remove unused dependencies.

* chore(rooch-executor): remove hex dependency

Removed the hex crate from rooch-executor's Cargo.toml as it is no longer needed.
This cleanup helps to minimize the dependencies and can potentially reduce the final binary size.

* feat(rooch-rpc-server): integrate DAServer with sequencer

Updated the DA module integration by switching from DAActor to DAServerActor and corresponding proxy changes. Added sequencer order tracking to improve transaction handling with the new DAServerActor setup.

* fix(rooch-da): improve error handling in append_submitting_block

Enhanced error message formatting in append_submitting_block for better debugging. This provides more context about the block numbers involved when an error occurs.

* feat(rooch-proposer): replace DAProxy with DAServerProxy

Update the `ProposerActor` and `StateCommitmentChain` to use `DAServerProxy` instead of `DAProxy`. This change enhances consistency with server handling. Additionally, update dependencies in Cargo.lock to latest versions.

* refactor(rooch-da): improve error handling and code clarity

Refactor error handling logic and code readability. Replaced use of deprecated macros and improved conditional checks for better maintainability.

* refactor(rooch-da): simplify DA backend and server logic

Removed unused imports and redundant code. Refactored backend submission logic for efficiency and readability.

* feat(rooch-da): refactor DABatch to use typed tx_list

Refactored DABatch to accept Vec<LedgerTransaction> instead of Vec<u8>. This improves type safety and clarity, and involves modifying methods, tests, and related message structures.

* feat(rooch-da): use genesis digest as open-da namespace

1. simply da config
2. use genesis digest as open-da namespace when start server

* fix lint issue
* feat(rooch-da): enhance DA config and batch handling

Improve DA configuration with additional path logic for segments.
Add `get_hash` function for batch meta in rooch-types.
Update README for clarity on DA process and roles.

* feat(rooch-da): add nop_backend flag for fallback handling

Introduce a `nop_backend` flag to manage fallback behavior in absence of backend configuration. This allows the system to use a No-Operation backend and skip block state updates accordingly.
Updated the get_submitting_blocks function to accept an optional count parameter for fetching a specific number of blocks. Added corresponding tests to validate the new functionality.
* blog: Babylon and Rooch Hackathon & hacker house

* add picture

* update links
* blog: add Balylon hacker house zh

* add a link
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.6 to 1.11.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.10.6...1.11.0)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add swap ui component

* chore: test

* feat: add purchase rgas

* feat: chore swap header

* fix: eslint & build error

* finish

* lint:fix

* fix

---------

Co-authored-by: Jojoo <jojoo.eth@gmail.com>
Copy link

vercel bot commented Oct 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
main-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2024 9:44am
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2024 9:44am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Oct 12, 2024 9:44am

@wow-sven wow-sven deleted the branch main-portal October 12, 2024 09:52
@wow-sven wow-sven closed this Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants