-
Notifications
You must be signed in to change notification settings - Fork 35
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
removing zk tree usage #1529
removing zk tree usage #1529
Conversation
Codecov Report
@@ Coverage Diff @@
## v1.4.0 #1529 +/- ##
===========================================
+ Coverage 40.79% 65.44% +24.65%
===========================================
Files 9 131 +122
Lines 201 9858 +9657
===========================================
+ Hits 82 6452 +6370
- Misses 112 2820 +2708
- Partials 7 586 +579
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but admittedly not the best reviewer here.
@@ -280,7 +281,7 @@ func Test_getBundledHash(t *testing.T) { | |||
byteSliceToByteArray32(common.FromHex("0xed58f4a0d0c76770c81d2b1cc035413edebb567f5c006160596dc73b9297a9cc")), | |||
} | |||
|
|||
bh := common.FromHex("0xee49e1ca6aa1204cfb571094ce14ab254e5185005cbee3f26af9afd3140ac12d") | |||
bh := common.FromHex("0xbbf0c526070f3b823eb995aa31f2ac9635532a0b010ff27183be7bf25b3f002a") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this value generated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we changed from using keccak to using blake2b the hash changed. In any case, this code most likely will not be used once we move all pools to the chain.
@@ -104,17 +105,16 @@ func AssetDir(name string) ([]string, error) { | |||
} | |||
|
|||
type _bintree_t struct { | |||
Func func() ([]byte, error) | |||
Func func() ([]byte, error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Func func() ([]byte, error) | |
Func func() ([]byte, error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is autogenerated code, and rather not lint it manually.
closes #1519