New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (685052082000000000) out of range of int (-2147483648 - 2147483647) #100
Comments
Could you also list the transactions? That TTL seems too high, a bit surprised that cardano-node does not have upper bound for transactions if so> Nvm - checked max TTL currently on mainnet is {
"tx_hash": "5738f941a3a422345d210b76056695dad68d5dd2653fb226fd8e2d36b64d1618",
"block_hash": "9eb3ac8bc44171964edfc13fb623abce05900ae22698be8bcd580d29f24754de",
"block_height": 5509898,
"epoch_no": 255,
"epoch_slot": 387884,
"absolute_slot": 25184684,
"tx_timestamp": 1616750975,
"tx_block_index": 5,
"tx_size": 297,
"total_output": "300116941249",
"fee": "174081",
"deposit": "0",
"invalid_before": null,
"invalid_after": 18446744073634243000,
"collateral_inputs": [],
"collateral_output": null,
"reference_inputs": [],
"inputs": [
{
"value": "300117115330",
"tx_hash": "55908485f00d7156fcd1f7e77e49b28405d6083be345f9be43c5b1755b0f5d6f",
"tx_index": 1,
"asset_list": [],
"datum_hash": null,
"stake_addr": "stake1u8wzan33n9dzw69340x0fnsf082nf0maz9p3l2j8nwtk6qqc2frd6",
"inline_datum": null,
"payment_addr": {
"cred": "b36badaeb3ac8022d051f5e55dce4e9f8da1647e3d4d29d6ab360bd2",
"bech32": "addr1qxekhtdwkwkgqgks28672hwwf60cmgty0c7562wk4vmqh5ku9m8rrx26ya5tr27v7n8qj7w4xjlh6y2rr74y0xuhd5qqc8fhry"
},
"reference_script": null
}
],
"outputs": [
{
"value": "80065620",
"tx_hash": "5738f941a3a422345d210b76056695dad68d5dd2653fb226fd8e2d36b64d1618",
"tx_index": 0,
"asset_list": [],
"datum_hash": null,
"stake_addr": "stake1u8kph2mc9r6j2plndz5j27quu06faverhra5lmprax99xqq9cvu9k",
"inline_datum": null,
"payment_addr": {
"cred": "c74140d3c5946dc5fdb4cf97f0c9fed6f138969005d81d3ba12b714c",
"bech32": "addr1q8r5zsxnck2xm30akn8e0uxflmt0zwykjqzas8fm5y4hzn8vrw4hs284y5rlx69fy4upecl5n6ej8w8mflkz86v22vqqvf746p"
},
"reference_script": null
},
{
"value": "300036875629",
"tx_hash": "5738f941a3a422345d210b76056695dad68d5dd2653fb226fd8e2d36b64d1618",
"tx_index": 1,
"asset_list": [],
"datum_hash": null,
"stake_addr": "stake1u8wzan33n9dzw69340x0fnsf082nf0maz9p3l2j8nwtk6qqc2frd6",
"inline_datum": null,
"payment_addr": {
"cred": "b36badaeb3ac8022d051f5e55dce4e9f8da1647e3d4d29d6ab360bd2",
"bech32": "addr1qxekhtdwkwkgqgks28672hwwf60cmgty0c7562wk4vmqh5ku9m8rrx26ya5tr27v7n8qj7w4xjlh6y2rr74y0xuhd5qqc8fhry"
},
"reference_script": null
}
],
"withdrawals": [],
"assets_minted": [],
"metadata": null,
"certificates": [],
"native_scripts": [],
"plutus_contracts": []
} |
Hi, I managed to find the TX:
|
@rdlrt , looks like schema for invalid_before/invalid_after should be changed to String or Long/Number |
The actual data type used in database is |
My 2ct, I'm fine with having it changed into string if you can't use native large java numbers like |
@rdlrt I can change it to I need your confirmation that it will be @DevStakePool I think serializing these fields to |
So far - looks all that have seen/discussed it are happy with str for this field itself in next release, but the bigger discussion point is then considering all other |
…nfo to show latest mint tx data (#141) ## Description <!--- Describe your changes --> 1. [Minor output (data-type) change] - Convert tx_info: TTL values to string (as some values are far beyond billion) - assists cardano-community/koios-java-client#100 2. [Non-breaking] - Fix asset_info/asset_policy_info to show latest mint tx data (was an error in change before intended to do the same), and update asset_info->tx_hash to show latest (instead of oldest) tx
Thanks @DevStakePool, @rdlrt |
The latest version shows this stack trace
This happens when calling this method:
rest.koios.client.backend.api.transactions.TransactionsService#getTransactionInformation(java.util.List<java.lang.String>, rest.koios.client.backend.factory.options.Options)
with a list of TXsThe text was updated successfully, but these errors were encountered: