From c72ab6501f21fe94f15ce483fb3cf8017030754e Mon Sep 17 00:00:00 2001 From: beer-1 Date: Tue, 19 Nov 2024 19:43:58 +0900 Subject: [PATCH] fix error handling --- x/evm/state/statedb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/evm/state/statedb.go b/x/evm/state/statedb.go index f1f3bc7c..3613a913 100644 --- a/x/evm/state/statedb.go +++ b/x/evm/state/statedb.go @@ -101,7 +101,7 @@ func NewStateDB( } schema, err := sb.Build() if err != nil { - panic(err) + return nil, err } s.schema = schema