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 Ipfs server #46

Merged
merged 40 commits into from
Feb 17, 2023
Merged

add Ipfs server #46

merged 40 commits into from
Feb 17, 2023

Conversation

15000785133
Copy link
Owner

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:

  • add each change in a bullet point here
  • ...

garyxiong123 and others added 30 commits December 22, 2022 16:51
Fixes bug that rollup block cannot be submitted to L1 because nft was not found for FullExitNft tx
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"
@15000785133 15000785133 merged commit 8a77553 into qa Feb 17, 2023
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
Labels
None yet
Projects
None yet
8 participants