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

Sync Relayer from previous Ethereum block #384

Merged
merged 16 commits into from
Jun 1, 2021
Merged
Prev Previous commit
Next Next commit
remove hex root print
  • Loading branch information
denalimarsh committed Apr 30, 2021
commit 1be2d8158332ed77aa7b28296845109c8c12b54e
4 changes: 0 additions & 4 deletions relayer/workers/beefyrelayer/store/beefy.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package store

import (
"encoding/hex"
"fmt"
"math/big"

Expand Down Expand Up @@ -101,9 +100,6 @@ func (b *BeefyJustification) GenerateMerkleProofOffchain(valAddrIndex int) ([][3
return [][32]byte{}, fmt.Errorf("failed to verify proof")
}

hexRoot := hex.EncodeToString(root)
fmt.Println("hexRoot:", hexRoot)

sigProofContents := make([][32]byte, len(sigProof.Hashes))
for i, hash := range sigProof.Hashes {
var hash32Byte [32]byte
Expand Down