Comments (4)
@ayrat555 I spent some time tracking down the issue, it turns out it's 100% a problem with exw3
attempting to naively parse tuple types and passes types: [tuple: [array: :tuple]]
directly into ABI.decode
. That naive code doesn't understand the logic required for tuple types (components etc) I'm going to submit a PR that demonstrates that issue over there. Hopefully this will help others understand the issue.
from ex_abi.
@ilyadruzh can you please post example related to ex_abi
. I don't maintain exw3
so I'm not sure if the error is really in ex_abi
from ex_abi.
Also seeing the same issue. I also cannot immediately tell if this is incorrect usage from exw3
or a bug in ex_abi
regardless it's frustrating. I'll see if I can dig a little and come up with a valid failing test to further this conversation in the appropriate place. @ayrat555
from ex_abi.
@gregors would be nice to have an example so the issue can be reproduced
from ex_abi.
Related Issues (20)
- Missing `stateMutability` on `ABI.FunctionSelector` struct
- Error processing empty data field in event HOT 1
- Error decoding struct HOT 2
- Invalid result when encoding payload for 0x V3 proxy.
- Issue decoding Seaport Zone getSeaportMetadata HOT 3
- non-standard packed mode: `encodePacked` HOT 4
- Incorrect method_id definition for events ABI HOT 2
- ABI.find_and_decode function doesn't validate input arguments HOT 3
- cannot decode log data if the destination data size > 32 bytes? HOT 4
- Type parsing error
- `ABI.parse_specification` ignores function objects without `outputs` field
- ABI.FunctionSelector.decode_type/1 doesn't recognize tuple type HOT 1
- question/comments regarding names HOT 1
- Problem when parsing tuples and bool HOT 5
- could not compile dependency :ex_keccak, "mix compile" failed HOT 2
- Support multidimensional tuple arrays HOT 2
- Encoding maps as structs HOT 3
- this is issue is comming when i compile the blockscout code in windows OS HOT 3
- Error when decoding array of uint256 HOT 6
- Error on decoding 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 ex_abi.