diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index b5085cfd..00000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index 65d7c6d5..1e1f369a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,9 @@ data/deneb_goerli_slot_7431952.json generation/proofGenCLI solidityProofGen/solidityProofGen + +deneb_goerli_slot_7416760 + +test + +**/.DS_Store \ No newline at end of file diff --git a/data/.DS_Store b/data/.DS_Store deleted file mode 100644 index a90bfd0b..00000000 Binary files a/data/.DS_Store and /dev/null differ diff --git a/prove_validator.go b/prove_validator.go index 8a18faac..3281eea2 100644 --- a/prove_validator.go +++ b/prove_validator.go @@ -28,7 +28,7 @@ func (epp *EigenPodProofs) ProveValidatorWithdrawalCredentials(oracleBlockHeader } // Get beacon state root. - verifyWithdrawalCredentialsCallParams.StateRootProof.BeaconStateRoot, err = epp.ComputeBeaconStateRoot(oracleBeaconState) + verifyWithdrawalCredentialsCallParams.StateRootProof.BeaconStateRoot = oracleBlockHeader.StateRoot if err != nil { return nil, err } @@ -65,7 +65,7 @@ func (epp *EigenPodProofs) ProveValidatorFields(oracleBlockHeader *phase0.Beacon } // Get beacon state root. TODO: Combine this cheaply with compute beacon state top level roots - stateRootProof.BeaconStateRoot, err = epp.ComputeBeaconStateRoot(oracleBeaconState) + stateRootProof.BeaconStateRoot = oracleBlockHeader.StateRoot if err != nil { return nil, nil, err } diff --git a/prove_withdrawal.go b/prove_withdrawal.go index 4ca19232..f693d3f9 100644 --- a/prove_withdrawal.go +++ b/prove_withdrawal.go @@ -97,7 +97,7 @@ func (epp *EigenPodProofs) ProveWithdrawals( } // Get beacon state root. - verifyAndProcessWithdrawalCallParams.StateRootProof.BeaconStateRoot, err = epp.ComputeBeaconStateRoot(oracleBeaconState) + verifyAndProcessWithdrawalCallParams.StateRootProof.BeaconStateRoot = oracleBlockHeader.StateRoot if err != nil { return nil, err }