forked from bnb-chain/zkbnb
-
Notifications
You must be signed in to change notification settings - Fork 2
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 Ipfs server #46
Merged
Merged
add Ipfs server #46
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes bug that rollup block cannot be submitted to L1 because nft was not found for FullExitNft tx
Account asset trees cache
Rename NewBASSparseMerkleTree to NewBNBSparseMerkleTree
Testnet add verify_at data field for the front end to show the verifying time
Add verify_at data field for the front end to show the verifying time
# Conflicts: # go.sum
# Conflicts: # dao/tx/tx.go # go.sum # tree/account_tree.go # tree/asset_tree_cache.go
# Conflicts: # dao/nft/nft.go # go.mod # go.sum # service/committer/committer/committer.go
Update gnark and zkbnb-crypto to include updated Poseidon
…-version Revert "Update gnark and zkbnb-crypto to include updated Poseidon"
# Conflicts: # dao/tx/tx_pool.go # go.sum
# Conflicts: # go.mod
# Conflicts: # go.mod # go.sum
15000785133
added a commit
that referenced
this pull request
Feb 28, 2023
* get l1 request id from pool tx table * fix pool tx roll back error * fix pool tx roll back error * fix pool tx roll back error * fix pool tx roll back error * fix pool tx roll back error * fix pool tx roll back error * Double Signature Rename File Name * fix pool tx roll back error * Perf SMT: avoid persist last layer of tree node * L2 Double Signature message wrap line adjustment * api/v1/layer2BasicInfo Get the following statistics 1.GetCommittedBlocksCount 2.GetVerifiedBlocksCount 3.TotalTransactionCount 4.YesterdayTransactionCount 5.TodayTransactionCount 6.YesterdayActiveUserCount 7.TodayActiveUserCount Use a job to get the data and store them in the cache * Estimating gasprice and speeding up transactions * print log for smt tree * Added support for diff block sizes in deploy-local.sh * print log for smt tree * print log for smt tree * Added support for diff block sizes in deploy-local.sh * Fixed go.mod * Revert "Perf SMT: avoid persist last layer of tree node" This reverts commit 047136f. * Estimating gasprice and speeding up transactions * add Ipfs server (#46) * Avoid initialization of SMT every time even cache hit * Polish * Rename NewBASSparseMerkleTree to NewBNBSparseMerkleTree * Add verify_at field for transactions after the status is changed to be StatusVerified * L1 Signature Verify Development * add function upload ipfs * when upload ipfs,remove metadata Required * add metadata Required * update metadata logic * Fix log format * remove validateCollectionID * update ipfs * update ipfs * Update gnark and zkbnb-crypto to include updated Poseidon * Revert "Update gnark and zkbnb-crypto to include updated Poseidon" * remove collection metadata * remove collection metadata * add Signature * add check account index * update swagger doc * update crypto version --------- Co-authored-by: garyxiong123 <502238410@qq.com> Co-authored-by: qct <tango.qct@gmail.com> Co-authored-by: Smith S <smith.s@binance.com> Co-authored-by: 邵建青 <shaojianqing@gmail.com> Co-authored-by: toni.x <toni.x@binance.com> Co-authored-by: markc <mark.c@binance.com> Co-authored-by: Ruslan <ruslan.gmz@gmail.com> * add config ipfs url (#47) * Avoid initialization of SMT every time even cache hit * Polish * Rename NewBASSparseMerkleTree to NewBNBSparseMerkleTree * Add verify_at field for transactions after the status is changed to be StatusVerified * L1 Signature Verify Development * add function upload ipfs * when upload ipfs,remove metadata Required * add metadata Required * update metadata logic * Fix log format * remove validateCollectionID * update ipfs * update ipfs * Update gnark and zkbnb-crypto to include updated Poseidon * Revert "Update gnark and zkbnb-crypto to include updated Poseidon" * remove collection metadata * remove collection metadata * add Signature * add check account index * update swagger doc * update crypto version * add ipfs url --------- Co-authored-by: garyxiong123 <502238410@qq.com> Co-authored-by: qct <tango.qct@gmail.com> Co-authored-by: Smith S <smith.s@binance.com> Co-authored-by: 邵建青 <shaojianqing@gmail.com> Co-authored-by: toni.x <toni.x@binance.com> Co-authored-by: markc <mark.c@binance.com> Co-authored-by: Ruslan <ruslan.gmz@gmail.com> * Double Signature Format Signatrue String * Double Signature format Signature String * Double Signature format Signature String * api/v1/layer2BasicInfo Get the following statistics 1.GetCommittedBlocksCount * api/v1/layer2BasicInfo Get the following statistics 1.GetCommittedBlocksCount * Transaction Merged Query fix bugs * add init validators script * add prover test * modity ipfs code * modity refresh ipns * modity refresh ipns time * optimize gas price * optimize gas price * optimize gas price * optimize gas price * optimize gas price * modity GetMergedAccountTxs total * remark what COMMIT_BLOCK_PRIVATE_KEY and VERIFY_BLOCK_PRIVATE_KEY are * add GovernanceContract address * add sys_config DefaultNftFactory address * CreatorAccountIndex can mintNFT for another people --------- Co-authored-by: markc <mark.c@binance.com> Co-authored-by: Smith S <smith.s@binance.com> Co-authored-by: 邵建青 <shaojianqing@gmail.com> Co-authored-by: qct <tango.qct@gmail.com> Co-authored-by: Ruslan <ruslan.gmz@gmail.com> Co-authored-by: garyxiong123 <502238410@qq.com> Co-authored-by: toni.x <toni.x@binance.com> Co-authored-by: yq <qing.yang@binance.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
add a description of your changes here...
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes: