tests: eth_sendRawTx (#804)

* tests: eth_sendRawTx

* update tests

* rm println
This commit is contained in:
Federico Kunze Küllmer
2021-12-01 09:38:59 +01:00
committed by GitHub
parent 3b0fa63832
commit 705893c0ac
2 changed files with 74 additions and 2 deletions
+1 -2
View File
@@ -61,8 +61,7 @@ func (s *CompiledContract) UnmarshalJSON(data []byte) error {
s.Bin = x.Bin
if err := json.Unmarshal([]byte(x.ABI), &s.ABI); err != nil {
fmt.Println("unmarshal abi fail", x.ABI, string(data))
return err
return fmt.Errorf("failed to unmarshal ABI: %w", err)
}
return nil