Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
fix(bindings): fix AssignmentHookABI variable typo (#468)
Browse files Browse the repository at this point in the history
Co-authored-by: David <[email protected]>
  • Loading branch information
bodhi-crypo and davidtaikocha authored Dec 7, 2023
1 parent c7e899d commit 3b057f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/encoding/custom_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TryParsingCustomError(originalError error) error {
}
}

for _, hookCustomError := range AssignemntHookABI.Errors {
for _, hookCustomError := range AssignmentHookABI.Errors {
if strings.HasPrefix(hookCustomError.ID.Hex(), errData) {
return errors.New(hookCustomError.Name)
}
Expand Down
4 changes: 2 additions & 2 deletions bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ var (
var (
TaikoL1ABI *abi.ABI
TaikoL2ABI *abi.ABI
AssignemntHookABI *abi.ABI
AssignmentHookABI *abi.ABI
)

func init() {
Expand All @@ -262,7 +262,7 @@ func init() {
log.Crit("Get TaikoL2 ABI error", "error", err)
}

if AssignemntHookABI, err = bindings.AssignmentHookMetaData.GetAbi(); err != nil {
if AssignmentHookABI, err = bindings.AssignmentHookMetaData.GetAbi(); err != nil {
log.Crit("Get AssignmentHook ABI error", "error", err)
}
}
Expand Down

0 comments on commit 3b057f3

Please sign in to comment.