You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#277 introduced a breaking change that requires users of this library to register trees via RegisterTree. Trees are later fetched from a global map of trees based on their treeConstructor (a.k.a. treeCreatorFn).
Problem
This line does not evaluate to true when I expect it to.
For example, in celestiaorg/celestia-app#3065 I'm registering a tree for the square size 1. Then I run TestMinDataAvailabilityHeader which fails because the pointer inside treeFn doesn't match the pointer inside treeConstructor.
Closes#286 by deleting
`getTreeNameFromConstructorFn`.
Closes#288,
#289 by fixing those tests.
Inspired by #278
Includes two breaking changes:
1. `ComputeExtendedDataSquare` now accepts a parameter `treeName:
string`
2. `ImportExtendedDataSquare` now accepts a parameter `treeName: string`
---------
Co-authored-by: sontrinh16 <[email protected]>
Context
#277 introduced a breaking change that requires users of this library to register trees via
RegisterTree
. Trees are later fetched from a global map of trees based on theirtreeConstructor
(a.k.a.treeCreatorFn
).Problem
This line does not evaluate to true when I expect it to.
rsmt2d/tree.go
Line 77 in bb5e119
For example, in celestiaorg/celestia-app#3065 I'm registering a tree for the square size 1. Then I run
TestMinDataAvailabilityHeader
which fails because the pointer insidetreeFn
doesn't match the pointer insidetreeConstructor
.Screenshot
Proposal
TreeConstructorFn
tostring
#278The text was updated successfully, but these errors were encountered: