From f2e26542fe91da54ea18e6b179578e9f4600225d Mon Sep 17 00:00:00 2001 From: Ji Hwan Date: Wed, 14 Aug 2024 11:40:44 +0900 Subject: [PATCH] chore: include ulxly gen bindings and lint Signed-off-by: Ji Hwan --- cmd/ulxly/ulxly.go | 1 + contracts/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/ulxly/ulxly.go b/cmd/ulxly/ulxly.go index e636fd16..53451250 100644 --- a/cmd/ulxly/ulxly.go +++ b/cmd/ulxly/ulxly.go @@ -85,6 +85,7 @@ type IMT struct { ZeroHashes []common.Hash Proofs map[uint32]Proof } + type Proof struct { Siblings [TreeDepth]common.Hash Root common.Hash diff --git a/contracts/Makefile b/contracts/Makefile index ba171add..b551322b 100644 --- a/contracts/Makefile +++ b/contracts/Makefile @@ -58,4 +58,4 @@ gen-ulxly-go-bindings: .PHONY: gen-go-bindings -gen-go-bindings: build gen-funder-go-bindings gen-tester-go-bindings gen-tokens-go-bindings ## Generate go bindings. +gen-go-bindings: build gen-funder-go-bindings gen-tester-go-bindings gen-tokens-go-bindings gen-ulxly-go-bindings ## Generate go bindings.