Comments (1)
Hi, you might need to use https://pkg.go.dev/encoding/hex#DecodeString to encode the bytes data in the CallMsg. Otherwise, you are converting the "0x..." string to bytes, instead of converting the value it represents to bytes.
from ethgo.
Related Issues (20)
- how to ? go/src/github.com/umbracle/ethgo/structs_marshal_rlp.go:21:14: undefined: fastrlp.MarshalRLP HOT 2
- wallet.NewWalletFromPrivKey will get a wrong wallet address HOT 3
- The result of GetTransactionByHash can not get correct gas ? transanction type 2 HOT 2
- How to get pending transaction? HOT 2
- go mod tidy error HOT 8
- Transaction Params (nonce, gasprice, etc) HOT 10
- contract.go call function, Should Block:block? HOT 1
- How to send EIP1559 transction? HOT 1
- Testutil server with premined addresses HOT 1
- Wrong wallet from private key HOT 1
- NewTestServer unreachable rpc address HOT 3
- old transaction receipt fetching fails
- Why are primitive types not copied? For example gas\gasprice\nonce HOT 4
- abi struct tags only work in lower case HOT 2
- Need a way to detect connection errors of websocket HOT 2
- encode nested tuple error HOT 1
- Incorrect implementation of RecoverSender HOT 1
- Not all ethereum methods were implemented
- set apiKey for etherscan client
- My account stopped mining HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethgo.