Comments (2)
After forking the repo and some debugging, we were able to figure out that this was because there was not a from address set. It would be helpful to have error handling in the contract.Txn() function to indicate if there is not a from address set for the contract instance, or when creating the Txn, allow the user to pass in a from address. I can create a PR to add this functionality!
from ethgo.
Hi, I have updated the library and the interaction with the contracts in #167. I am closing this issue since it involves the old API. Please try again with the new API and open a new issue if something does not work.
Sorry for not fixing this issue before, it took some time to think about the correct spec for contract interaction.
from ethgo.
Related Issues (20)
- Add `GetLogs` function to Etherscan
- not found contract.WithSender in master HOT 1
- 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
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.