Comments (6)
Hmmm, yeah we might have to wrap those in a BigNumber before sending it through. Does it work with a smaller number?
from eth95.
Yeah, it works with the smaller no. upto the MAX_SAFE_INTEGER_LIMIT I suppose
from eth95.
I'm happy to take a PR if you don't want to wait around, but I think the fix is just to add ethers.utils.bigNumberify
to this line: https://github.com/adrianmcli/eth95/blob/master/src/app/features/function-call/useCallFunction.ts#L34
from eth95.
Yeah, that I already did in my local but struggling with the test cases doesn't want to put too much time on the test cases. It seems they are already break even without a change.
from eth95.
I think I'll put a checkbox and a number input field so people can decide how many decimals to convert with.
from eth95.
Yeah that also helpful, Similar kind of problem exists with bytes32 values though
from eth95.
Related Issues (20)
- Use sourcify to fetch ABI HOT 2
- Cannot input multiple values in array of addresses and uints HOT 2
- add support for batch transactions HOT 1
- Setting ETH value to send on one contract function breaks all other transaction calls. HOT 2
- Read Local Build Directory
- Add contracts from query string via Etherscan HOT 2
- Add transaction / event / result decoding HOT 1
- bignumber drama HOT 1
- Website now just hangs HOT 4
- New release HOT 1
- altneratives? HOT 6
- functions with multiple nameless arguments breaks the function info HOT 1
- [Bug] you can only input numeric in fields that are arrays of numbers. HOT 1
- [Feature Request] Save contract address in each contract HOT 1
- [Feature Request] Add support for Diamond Proxy contracts HOT 1
- [Feature Request] Formatting while Querying Structs HOT 5
- [Feature Request] Custom Source
- [Feature Request] Add Rivet support in wallet section
- [Feature Request] Remix Plugin for eth95 HOT 2
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 eth95.