Comments (3)
moving the discussion here (from warp-contracts/warp#494 (comment))
during this change v1.1.62...v1.1.63 the removal of || undefined
causes null
values to stay null
instead of undefined
, which the server probably does not handle.
from arlocal.
Hey, I've found the root cause (testing on latest ArLocal version - 1.1.64
)
The issue - latest versions of the ArLocal do not behave properly if null
is passed as max
in the block filter.
I.e. this filter works:
block: { min: 0, max: 100 }
This filter does NOT work:
block: { min: 0, max: null }
This works:
Query:
query {
transactions(
ids: ["thLz97087UrlLfXJ0RphXZ7g_mK569ro63ulCxxRtdY"],
block: { min: 0, max: 100 }
) {
pageInfo {
hasNextPage
}
edges {
node {
id
bundledIn {
id
}
tags {
name
value
}
}
}
}
}
Query:
query {
transactions(
ids: ["thLz97087UrlLfXJ0RphXZ7g_mK569ro63ulCxxRtdY"],
block: { min: 0, max: null }
) {
pageInfo {
hasNextPage
}
edges {
node {
id
bundledIn {
id
}
tags {
name
value
}
}
}
}
}
This apparently has changed in the latest ArLocal versions AND is inconsistent with how the arweave.net/graphql works:
from arlocal.
Merged and updated in version v1.1.65
.
from arlocal.
Related Issues (20)
- Support for partial content requests HOT 2
- upgrading arweave-js to version >= 1.10.24 results with a TypeError
- POST /tx 410 HOT 7
- POST /tx 413 HOT 6
- Binary Bundle TX uploaded via chunks not being un-bundled
- Bundled Data-Item Transactions don't need chunkDB entries
- Transaction fee calculation HOT 9
- GraphQL returns incorrect block height for block queries when there are over 100 blocks HOT 2
- Blocks without transactions return array with empty string inside HOT 2
- TypeError: ArLocal is not a constructor HOT 2
- Feature request: ArBundle support HOT 2
- Post transaction returning 410 Error when token balance is greater than transaction fee HOT 2
- Validation Error for last_tx field needs corrections?
- Add support for in-memory sqlite db and/or DataDB HOT 1
- bug(gql): support `minHeight` & `maxHeight` of `0` in graphql HOT 1
- unbundled data item are getting their id cleared HOT 2
- Node.js: TypeError: ArLocal is not a constructor
- The `/tx/pending` route is not supported
- Blocks are being mined with `[ "[object Object]" ]` transactions 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 arlocal.