Skip to content
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

The transactions got by eth_getBlockByNumber has error data #1263

Open
lizixing opened this issue Dec 17, 2023 · 1 comment
Open

The transactions got by eth_getBlockByNumber has error data #1263

lizixing opened this issue Dec 17, 2023 · 1 comment

Comments

@lizixing
Copy link

lizixing commented Dec 17, 2023

Describe the bug
The last transaction in the response of

curl --location 'https://cronos-evm.publicnode.com' \
--header 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":81,"method":"eth_getBlockByNumber","params":["0xB118FC",false]}'

is 0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b. But the tx is actually in block 0xb1190c

To Reproduce
Steps to reproduce the behavior:

➜ ~ curl -v --location 'https://cronos-evm.publicnode.com' \
--header 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":81,"method":"eth_getBlockByNumber","params":["0xB118FC",false]}'
*   Trying 104.18.23.142:443...
* Connected to cronos-evm.publicnode.com (104.18.23.142) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=publicnode.com
*  start date: Nov  6 17:23:06 2023 GMT
*  expire date: Feb  4 17:23:05 2024 GMT
*  subjectAltName: host "cronos-evm.publicnode.com" matched cert's "*.publicnode.com"
*  issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1P5
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: POST]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: cronos-evm.publicnode.com]
* h2h3 [user-agent: curl/7.85.0]
* h2h3 [accept: */*]
* h2h3 [content-type: application/json]
* h2h3 [content-length: 85]
* Using Stream ID: 1 (easy handle 0x12f811200)
> POST / HTTP/2
> Host: cronos-evm.publicnode.com
> user-agent: curl/7.85.0
> accept: */*
> content-type: application/json
> content-length: 85
>
* We are completely uploaded and fine
< HTTP/2 200
< date: Sun, 17 Dec 2023 06:06:52 GMT
< content-type: application/json
< access-control-max-age: 1728000
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< vary: Origin, accept-encoding
< x-envoy-upstream-service-time: 41
< cf-cache-status: DYNAMIC
< x-content-type-options: nosniff
< server: cloudflare
< cf-ray: 836cfb85b8ea6848-NRT
< alt-svc: h3=":443"; ma=86400
<
{"jsonrpc":"2.0","id":81,"result":{"baseFeePerGas":"0x42f4275c529","difficulty":"0x0","extraData":"0x","gasLimit":"0x2625a00","gasUsed":"0x262acc7","hash":"0x007731a0ac7050e81aff77992835e73f61ec844b3e5bcb66336596845f1c941c","logsBloom":"0x002000000008000c0000800081020000000000000000000000000000000200000000040006000000000002000000000000000000400000000008420000230080000020010000018000000008000400200000000000000000010100000002000000000400020000100000001800800800002020080800140080000010001000020000001002088006000000000100000000008000600040080000004000000000060400000000000000000040000000000100000000000020000000800000000000400002000000001200010000100800220400000400001000000000000220040210000000000400100400000000000000000020000100000000001002400000","miner":"0x0000000000000000000000000000000000000000","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","number":"0xb118fc","parentHash":"0xcf49b70d2163115e999f1b460387344c86ad918e14c21ca969f1377dd5da160d","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x95db9","stateRoot":"0xda66a4ad74921e669800e691fa2b7c7ef332f465e21177cdc373d5debab7d4bb","timestamp":"0x657b5e90","totalDifficulty":"0x0","transactions":["0xdf9f944ecef44a03af3497d29215500407b2fa8d28414fd5970b4b07ce484dec","0x398cf96c0f2773611808538f24356df93df6fb40bb0c5f3bf8b0dacb4c069dfc","0xf7e89c93cf7f590b88e361cd427b1c0311a41aecbd5675910db6bd417c480652","0x9e42117591536ed2a67dde720a9585d8ebceea0a9ae0794084a13f54dd081485","0xe2df70c415598a929379bc9b04bac2af5fdb4a2e6d078084a135bb19251ed72b","0xe80ca8471b6bf986fb23b7fd622acb1a8915e9cadd98e02a7c7438db8b7b431e","0xcb0250dddce8857284b7fcc262d7838acdb25686400d6b96f432065cbf8b7c5d","0xb0ba17f583d84e9392f1e51d440c79a47717906f7e72f73bd882f3f2e56e6e3e","0x7b2e72a45268d799f99357a10ca471c3f7c5b999ac2bf8f2e34f008d7bb523c4","0x2137e405e7236bea95273b7b9861b3c62c797af1e9a0e27acbead2caed095890","0xaa3304d0dac088193f8d11e891128d0a94401b9059cc644f4510a9eee4151bc4","0x368480e0e42ba363972d8355355a209fcda6d0a4ed584004f653c5798cb519a4","0x3543d440b66941ec4382458d7e6cf6cfc8607fab1c30c197330572f143fd3558","0x031365be92ecb326484c1f1500fb6bda182da95a6cab54396f8f1cbeee4666c8","0x2785b2b5b1ad18b247a5d74f522e376517e2fc0ec6d1fe60ee2893fc3a8cae24","0x0aedfb1cb9178485dceee08e53744d9dc56d0029404a8c8f0b39b170bc0fe04d","0xd3dba9ec1ae1057ec10afb40be368c497747c21c2e9880cfd8f2ff2be0dd481d","0x396d3d04cac9089e4f106e312bacb60a7fd6d934d4f56cdb13eba28ecfbe1f5b","0xbf12c5a48dd9b5f2338a4cd5bc8bec7afa3c37ddf51271e2cd89344d29bc0d1d","0xb5095d144c1bc2cfa6f677fbfa1ffc733a66b36ec515d18f2f986cefd7717a0a","0x3e89450b7afb60c02b5725d088b0afe2a2687546eae7ffc911402c04af15356f","0x436533f5b6f727d2a60847f39ee23180bfdd1783c82cb481fb5fe7dbeaad4980","0x152d5d5f5df008ac16a6d24b2b61e7a614841d8b244fdf2b8fba5291d0ac3e03","0x39a8aa9aa1574b2fcf4ebea3aacaa91e0cd5485cf9af1fb34dffc23441895fbc","0x76b543fc292924a2861427fc93629e05ca49c06b7db45f27e8e657b17a35d808","0xa91885e4cbbd384dd879178705f420a81459895773ceb639954c30f8b5c3a6e5","0x8ea79ba523d17a213af56255854ddb24a45fa2c1f6237213e0e6ede25c1e129e","0x96b3cf5f66ce362c138044ac28f26c1be8c48d705bbc701d89e87dcaf7b350ab","0xc6c8e33391c1db90d6db6b9708ad36a13818139f29c16c35be8c82f9edbf4e8d","0x86e9aee3faabe40d110f7946cbf7fd2d93d7a39336214f5f565a97abde778bef","0x81f3c9033ac97638afed6fb1d9ffd605ebdd1f9a42301b8da24a4b0beeb8022e","0x76963eb00609ee94315e94482036219d84195166c400aa5be9295d41d94987de","0x135f2d70a845dd7bd727e19e630c6b0083e9a557c8fd15a14710314e8e26bcc3","0x0302a209f052225c6500fa3d85536e66e49a834d59348bf56170e75fcb182116","0x1548053dce049de1ee90eaa9c5e93130ff344eb4726336882a8d66292ca70a87","0x0db7ae9032414fa14f975b8e430bf8fffcc60fffac623119afe2a4690ba421fe","0x9005a247c5a0db71396c28d5a4ccbe8d84a21d440ccf5e7f8ac6d0256823fec0","0x9ac89c8ad17657360d366299e81aaafba8f139652679f7097e18467002102244","0x8b159e44ec22600c4764bf8df4a1e0a4a2dcf00776a4431652049317af011f33","0x521cac21d250c2ced76c8444cc421137d0ec0d363aeaf054b4f37abae478d5a0","0x4958fc024ca36e7eae9c3e4db7278d980cf8ca7db4db583a5f6a389007f89b2c","0x6195a2f4ef9e6f715b6e45e7addf42fe51f85ae9c0ef7771b4ae926eb0a7f6a4","0x2b842cd3e06685dd509f2a880e063e1df3c86dd88b9549762f04394b483959aa","0x3ab03a74b522366de15b5de3fc506639002c6df75268d4824bf54eacd3342043","0xda3a23f6fea2b8f13fe50ac1fc5a6ef2174dac0e0082fa2b7181aedf6a4b3cad","0xb37972f11b9b233139caf8b245881b5b58c8f21a0c7b63279fb4dc34785f68a2","0xb016d518e1595baead5f3306d114c11995ace9c6c96d1e9582de9e192a58f47a","0xcb1b6eb544a272fbe2be196affb2472590ab78699102aed2292091e50339c8f0","0xe6553ac82852e385b412d715b134577bd042b5a5b46ccd49d19c743cc3963843","0x7a31d0778bbddb37760dcdd8211db33aa3feeb234d8e32beba12dc8585383035","0xc82e4200a1c5855b2e3dc0d5d9e239dc71ca5e18dd92c3d473563fd34a69b35f","0xc395e32dd8d20cb6dc5d9c5c25e815dcd25cad51233302c937ca8c0014d51d57","0x1d3d4747c68049accd7b64e80df0f686d62d303f09d4e1de135cad957b559d7a","0x8b2f2d0f684b9b2d5e17e7db695d6e064c59d5ad722976144c1abf8a58a4afb6","0xe733847e0a93bfba8643abd459e91e40d7b0876173aee167ab1529301a670fe3","0xc42e67208e4bba84f2e00b8afaa8e5cad02ba87a15bef5c64c23675aeee4a9a4","0x69e44692c0773b64e52daab349cded988b6e995ff91874ac9f1c09c0f6c224a0","0x6ca25206b2c7b87a4597f1263fb5c32b394db19b2ed0dbf3ff7566d3bae1ea3f","0xa0770f0923ca1a7691c7cfcfa73dc9ae401d7195b67cb251a05ac57c13cd198a","0xc1d0bee361d8268fa5e48116aad51f79f5d5ec1f6e76204e030cfe436b47eec0","0x00a76e5e3f06ca8c516d18360924035961078d20a2c57fba461990065bf1eb59","0xdba611e7632a8bca2d883b8d8d0eab83ad4e8e708ed5917f49d9c06f6b7a6676","0xc3e44f64f9d7e43d020f236ab35ae72c01ccd3306ac5c8f86ab0e49a69bd1f48","0xd5e81481c9f6abc6360401fb0393c73d12369a52a5320bef68727f04de7c6c86","0x38ebd6e3182aa3aab646dcce3178adf684f2cb25c0b77d107b63633b1507d310","0xafbf404c5992eae0e5d903a26c43f9100ef15b8247cc9369af935f59be72cb59","0x16803f64a5168133df366f830507d18ccdb3d97ec3c78b88f926d39454c5e658","0xc9423e30c20f0a41c3fa84ec96fa348608773f201823a2b7b05a07bf28378bc7","0x98db55f56590eea81fd188aee82c78229c5a423272189c3fe081f8ec646a1f48","0xa0452a18a9c34e699608c77de3d49ae2e8eb476e497c95ae78a1aa14c51ef721","0xf7ff09349004456c9d9237b0b804487ac297cec8937985331b5e01e57da1060b","0xbd76c1576987c4c38abac46655d96b807fd562807ee3b419a261ab1ca4f2f723","0x6764d55c6cbe448fae1f4517f4b759f2b41e4a6c7e2eebf7e976889285d3eef5","0xd8fe148c8ea7479f880f1b25d63e9edcca16a6f54b7de167bb673e9b977ef144","0xdbcd4be25531202fe150013103dcd4466268a5ecf61ddea84f49529c46818c9b","0xe703c14c9faea5f4f06d3c0f1a013652922e2273e6e56bda49edb9c5380ba217","0xab84bbd989e834e58be6ac7331a2d6bf4106d881b8881f8bbbeefae70a71cb99","0xfe4ca61723958988af1d06398bdd537e7381948db1defb29bf8c3993e7c1b41d","0x5fc268fd3a57b434dff4701845f229827d0429bb8363d696a095f2beb9b9a1d7","0xb687a31b0a86a22cda4cf5d86f018e02a94fdf426726e55d2096606942f9b9e8","0x446b4770686eab5d78c48a36852470f034ab48ff2688625eaac3d3fe295fbe2e","0xccd2d47ca6d826d61b79e4638ac522f7dc8938f34eab6a1ce05378bb1bfd32be","0x870f02f09ce7e8fa0a67a8784a80190dd6c5fd44a4dba068529bf596da546296","0x618f955f1efba980631529b69498737e5f06aba8b638eb34badab325a1bb5b48","0x94e2c3807a2bb1ef65eb40b1105aeec58e2ea5256568bbd759e67782fecd4f07","0x0dfc48df610d804bef70820d0625688795024ac5ef751296b05e64612bc2bfb9","0xfc9050041a084b4d5a31e8551d67ba23ce7a9a54ab3fbecd035aeb3c30b8ce41","0x0cb3867723d48f3c277e55165442a2e879305fda65765c4d30201f73e6aa09bc","0xc9556148b297c5c5cb173e7781530d49aeb0bb97532fb0d81458f0953f453e10","0x1b45922eef18d37f3ff1fdb3cd44e1fd5022f3cd6a5f1e0da3a35869d7962b58","0x4f98b7692471ef60fec755f27e31915af84eac1270583cb154f4ecd71525964f","0x3161f1c70c7e85ca352d5fec726a41c7d041ea906538c6ae538dc528101df819","0xfb73e7c94510d1373cf78101a13da3c597ccec1bd2f2f76484bb1a316e43c97f","0x963edce984e4c7f82ee14d7432f32a4058edfd2386e6a36c0e6d0c7accf7c286","0xcb3d8b11899c279de73064ca7f624ea29f4cebb821c2979067d8047a05c49a2c","0xb3735ab8d73da4a77d4805b84b7269f7711ee85aa9d7c022796fae669afef5ec","0x962d824760be3f71c4e252fcfe6213b1c99e3323adb41301789afe3ecbbb933a","0xbd89fb178759d89922ea8302f3c7558e603b1ecf08b133c94b5e76191198baab","0x0002379eeff6bdcec864f0ec45edaaaf46b0fbf933a0b90bf7f3c18a30404967","0xf13a155f4b36277fa8a44209cfe2d37cc2ef72def3dd055c7527f58434f06acd","0x5cffc4b1e0c92fef262e4e913d4cbecf996183f9318fc04b9c6ba08f7d847fd4","0xca5c19edc272f4fcb1ff23293f414350f49a8e66ad8db1c434d5343accc3520b","0x1d03f32365906dac18c0a800ccfd182df7cb43e54ac846d9b99a58adcc6130af","0xc3453516cb87fd18ee6e92c1dbfefd4623cb9ce8ad502fa68771e8d875394ba9","0x713e5aed3e7610cb107b2a1064e704723062e5cb7946ffc4265de3e8501f2f60","0xa74ada5633a18e4d43c1b253099e30616bf893c5e9ca7f8285cdac74667eb039","0x70075920a5317c5fc17bbe275ffe9d2f6d39a2b0686f7fcea40169cf35019670","0xc704f3bd99bc888ed2381da56de44b36c952060e8bae1066aa7c724e36b01915","0x992818d4fa481affeaf700d87bfa7af8b1e081eb88a4bd5a9b6eda7025e8b6ac","0x6ca214dacbfa36e181ee7a2c036924441477a281b9d92adcd37191d60956360a","0x3ee4131431e2ea735b7d5c9f6263cfebe5943408802c1e3563c0ec0e47bc4b98","0xcda78f355207ee8c73c578f5639dff26a74e8ed057bece568baf08f7059e54f6","0x4a1c15c07ff3e8f58a2126f36febabe42d3fd6a204cdaeb00a861b07e6a5a9cb","0xa344e8d4e5babb30536210eafc15d2dfb2ca5f5c0c3f742e2af56744c5661c9f","0x1b0ae0103f8b5c34cfa06bff6fb112f7a75ad6a13532bd22b776e8bfec100522","0x1f75f47a4c3182fca0a8b8eb7048ad7ffb03e6b9873e8d13fc2f82325b7bebde","0xb5143279c88191e7a43514672cdec66a284f198156de7d75d61b9d9093580dc7","0x0266c4a09e488648d2de2262be754fd7dde0b49f10a0d1bc33ec2d7f87e961ec","0xaa56792be3ef52123bb83636012ba070f31a341592ba84b21f5119b9e54e0dfa","0x4e4fda235023268fd78aab80a29ebf1bf0a1dfd19f6e2b3cb98615547f942768","0xc29e0ea36440ed159e5a2af89a842214836498b30d33315fb358c7e567be1414","0x97cb07d6197edfbd4db4c3a546e8c1ae6e5120071a0b5f0fe48ee1e153c31091","0x7e900dc21a671ac6341507c692fb2117611e434423352dce9003f782723cc514","0x464f43e89f9f6a52ae871717495dfb3fb3844f235823b3d8c8df313bbc1bf4f0","0x4fda830e2f6884296053e9a1b98c0b9f0480309b662dd25cea50c8c60d4030bc","0x5c6a608315bbc545c2037134c942a0dc4af154b420b08b83ee2bd6844e13ecce","0x6765b1a5a77f422425d7192889fdfea432d950575173621746e34cb56a0f5e9c","0x2ad1c870fb7655fe11af98437c22f6f12169ccbdc51967f88be7f4efe9efb6cf","0x79375e99b276837adf94a7c28bc88009f7bf17c52120e7c6b5556e433a8e8f40","0x6f90ba65d882ecc4939a41aa9956441b93b03d32b87c63cea63c12e22343c4b6","0x772f795a4b57bb4f21672b3d4adaf3c022389c01f54e24e93bca6efb68be11ff","0x1f753e5b63b4b04a97b348730a487d42ff399e380a9936b5d4662cf9bf050f07","0x0c89c6dc8b26e1317c11deea9b986cf0cd3cafad6c2b47e0a2b2e9933e0b64aa","0xb69ae9eabf30af09eadd797295bc8885e4188118690704cc6a487eff5defa797","0x6a4638fd9d4716345861979a546adc06fbc128226030b932567a160544971979","0x40c5c1b896b7ad8e86740d17c3ddc4bff8b38134aca431cba5825a7bee7ff639","0xff51102bb2e909dbf64c59e74a523521a4bddf02f7bd29ef5b5e444d347cd862","0x3a530afae54666e9e72d00b52b140f94f85dfddb789e6af03d79dc9b5762aa12","0x52c1128226107b25277d99522da9a480eb9db6f1eb0dad1349635e972e4cb176","0x0d32179ca43faaebf6e6ebae99675c27b9769b614fad7d757245cb9b5f7c472e","0x0c102d79da61f71278aec6858b2559f03cd08043337a7bdd8230aded116cfef7","0xd339f904366ecd2016ffdfbd98f24902d4b36a722cc13c552b0b6ed9c5900c85","0x5ef43277e27f575b41d71a283eb58b05a7283d40fd70b164bb6a32863707446c","0x9310a52cdf8f3184b90474b705baff5ce8c0bd0782871e0023535e7f69f1f49c","0x3ac2123dbd214a3415fe9f08cd93b331346b54e57a332ef321b7078b7f2284bb","0xa517229364a768735742ee6a25edcbe297fb82dfa0268c4a6552f41bb081b3f4","0x397019d6c4165eecfcbb5e68125fb566d6c13a85956ccd46cfc8f4249fdcaab7","0xbe84e1c433adfd70abb342b7096f579012b2c3abb89770b167355042968cdf3d","0xd611b34c3f7d2080d02a887c24317f4ec8c0f811d79649f30ee637aa853b96bd","0xf14e9567e3ede69b979d51082ab92ce4f81b98390042fcc1b051eb16a1f453bb","0x6b3d0a3654669e7d4cde382ecba4fea97d201739b72ebc034156e7d8d08a5028","0x5d7a4ee196468870cc98242c212c89365017e4e17a71447f65fba9749337cada","0x4632244a99583ba350d95af497c3b49f0fdba874b7aefcaa417682be75ab8014","0xe70e28fad3cdddfc5547aabc06477b355f31ed405087eb6d90c46c8eb3a52e90","0xe5071af4377d32f15a82f718b5c2047f34aa6f34d696b215abc248840e303df0","0x5adaa7cf19c424086055ebc9f3a3b85d1fec0308b57c8df9ffb8a7350ede263c","0xd7887679a16c412a89622061c2a32bce6b3dcbe22d84d564c256554dc05a956b","0x148a52483e6cda9482a2d47db66a55ea41bca6bfd85b3f40a1a3b426cbeca6d8","0x94e238a7d5b1049867bb6e24acd2d93c7c5b4dbf1d99dbe2aa76d82c7778c654","0xf5ad668e8b6b7b699d97a2b403759cb9ca31815ad438ddaae13f70263a48776a","0x2afe58442750e046a04d27ed49c020207e604ab2591f6a875f01df633683a7b5","0x623bb36e1580961f4214abd87d67a47804631cd4ed172af44e06149568b4cddd","0x6e955004cb81b826f3d34099235bfbb704ae2feefc9c2bd4e2b6ceec2d6ff819","0x50e80cc3f8f0aa38646b9d2cff3a34b7980ec6ece7fef11631623875761643ab","0xf325ea4980346d363c9497ba8a175d68268a4b586270f28ce9ee7f376191e316","0x62970f7d86cc50385c6661e89bfef79da923c2c73be6dfe36ca51922ff696358","0x1e75ef0d933219964805d7fec3abfaeb145f76ee692c13267ff3cf69ee388813","0xfb119ce1f6706297a7d4009f51a2c5b8d2bba15f3403ff52750d3d2d09060585","0x0b36bab37fd24b516e02ac87981a77e220ba046fb89a2de07350b7d6de1ea2c0","0xe6efef8a4556563a480f9366ffc1a67a61f50846a85812ee11e58f98ddd312d5","0x3cd592bdaeeafcdc99c0a9f47da7d589436c6a814887add2a58fb438d70f129e","0xb297820341d25a8165d98ca5c230c04a170f2e17db875cc749cdc41f93efc59a","0xd1a93fa0ae0ee2dd5f7ac27a11a78862746dcbbbdc148b97f17226bf35a17721","0x970cfb7d4f5dfce74a04d5cda745ff8cd0bed76e62cee04a5060f40a4d53d41f","0x0614f164f79078ebc591c3f9abe0e846bde942e34962292da2de176ec0d0bbb0","0x307aa0a0347d2dd5f5d9731353369990d98130d6c7993c89b4c273a19f5056fe","0xf066c7b8639ed1a7abca3dce02aeedcdbd06121077cf77a6e3538fcf742fca89","0xa8a96de1270e1ea3923492b227b8e1432c0da418284ab9560a98f748f453d656","0xf2a7963277202dc6fb19ddb439c602822a4afc0740420c2579cf3ff74f7da6df","0xb78f7a910fe6bde34a1d4ac109084832b2becda497ed80205b0bd8c77dc86505","0xe52027d74fb0c62974f0484aba49af68365ba154318703bee1581864aec8ab4d","0x587006b23e78d02f84c3899ea981aa52e5fd74a180014465eef1fb92c583a237","0x5fdf6960775b4e4390916d2edff5c78f1720efe036e5a84c1cb3f2b62b62c96b","0x67878dcd1be3fbade33861b57c96d4f800c02408975522c46562e2aa67b9f6ac","0x6be02a7baa31545413c68f80cdc43c90d81f20996fa839870351889bb69a97b3","0xbc1c8844600d8293de85986412e9c9fec7e41bb08c4baab1be6e565a29687b36","0x41e7dd0ca03f513fc81a1cbe2994aee2932f4f551bd563949effc01c7e45106d","0x15ff853de46980957ab81df1add141861232c7feb126bacdbbf58c631493f0f5","0xffdc717f47623bee7ff7a20f121875ba23f44e58a2a38faf89cf6fd544b906c1","0xf6b3f71a21ec6a8f29295053da799ff420a647ffaeba039352d9865be96870ab","0x8ba00c129c1b903ad7cef70d97dc6222eae10f3cebaab3d8681180cfeea34158","0x133bd7c547845108619642996caa8b28db9474fccb6b9ea327f94f17f9b19935","0x146601301d4f6323ac68c13e06b01cc7af064f2e7ac0222934d67e7992a06d56","0xb4e5db96e3f34384905c8a083d873406d7bb8b85f6e6fbc6188d8b98bb9f8f13","0x509d9cafb60c0c25ad0f788a606a7f14741a161849bfe5cbad61d913ec6a9f8b","0xe7abb30be11f1117479d1a270afa49273bbba3f539bb50d668ff714d5f1ce881","0x0a5bd8c946beab027bcf63e0b8259a4ab5c95ede69047dbaf4f150838b4e32ca","0xaea32d55f3667f633bcd3e90389a19490da7b076942ace5cffd63a3c283c010f","0x36acbbdd94d456ca7aee97f8ae254330665943a63f1d00aa65f800f8235d086c","0x7dab3e620fcec2ef6c109570d018ec89f240509050503849716a02697d1992af","0x301c552a6b37c6c1c1fb297f3b448baa8845402d8be043386ae46715b0a921b1","0xb3b3c2dde3a7da4f2ba9a655becd9915f2ea3c9e0573080fe934573e730fad40","0x5c6a0c8aaa24b84d51f5d482226edd68c82dbeb1145ef374ccfd4a48545931f6","0x500d23ee1c13faedd1362b8176437535a5d21cf17e2127cce7a87050b52b776b","0x1e670cf0fc466c8cb97130efb3bac2ed6691d090171431158764559a42b78335","0xebd7654d071b0203389e99e3ae473cee43619d5645df9aec8010a3c7b163253d","0xa75f28d853ea2baffdae36e67735ed95f30218606fd5e8565906b7a0162cfdc7","0x75e8058a60bbede9399d55d9c6932d541e714acc3f9c2c96b5772aafeab754dd","0x4d3f7eba3f30f4c43a7bac640863b92dc350a4fa768af791124b21299241f29e","0x312035b9abecafd56bc7799b6de569fb21c03889722b593c34747dae9bdb7e0e","0xe21ee8b3861d159658dfaba26888d836fe5dc4b0a362b1ed687a4401dce48b6b","0x9d35149312884bb8ee2df7a859045f474bfd12cf83ec14f089e2a99444d55ca2","0x0a6cc979ac0d035bdf8e3619292536cc70f1c20f0e003eb4a49984623a984899","0xed5e8ca267b704410db3de656de0baaab66516b78af11f3d5a7b81112f94b4ca","0x300b094bb393fb8ef2782f64067fe2a950dc09bbe06c25df549f078c0edaede2","0x924e11a1f849315ebe8cdfcc5c979601d7e326579c1cb1593db4826d56586aac","0x866019ca886eeede505d827aa7e2ff17a63ec1ec3545c2e1e65dc21541859a26","0x0f495a93223b95f83c36b7f5318ba72cff48899ff23ced6e8db93360dcf5339b","0xe84a684bdc18e98e613e566ef0a6eb9aca8c2b25b7c2ae5e29405f3c75ec3b75","0xdc798ae2644b644e935be535e931323428c2528f2c25b7a9bb215b35fb63bd9a","0x702b0f152e5727292013b8897878e363316c989c5b72c68a92bb03bd063cb233","0x3e3790d2a309e9a19c394849f867fb5a40e884c9f373d6a05507cfa4eb6b22e0","0x867717b13f140635f805c6dc507b8f3046490c0a0951c208a40645b8f1df6db7","0xb56f5655e9cbc713ce6255f806f9b9a4721aef1d7a13df2c7546ddd9a8e2827e","0x7d9144016229c63534befed613a2b214c0cacbc964a32261bf1bae4308d1b711","0xf4143f45f293d793481d96658d9268583acf27329890a269c0d6081f62051f95","0x17799fdad6980f225c5cc79bb1b8ab1e1cc4a14c65d60eb6383e5293ea7366e7","0x69828eda4dc65d500aed6e56082e03f29d3a39109b7d2929e77a23cdaabc8784","0x096dbea315f6d449826dabfc6a9d50822afacb8a38fa6a859f8b27f3d5e3762e","0xfb1eb83685d63d31611212a770839e18166be428b79b6f42533416395da2b7cf","0x82b60f16160a1c042a5a464771d2c896c3374aae7293d39dab5b8715685794ce","0xb53c2494d24a8bca1b9eeb8f5786d95532d6444cd8e9c04512c153a853ad54f7","0x5e9c5a9e9bfebcf1108ac0f8b6dffd8cbd8a65b87a0489532a36ef9b7c170cca","0x85a5d9e2196630cfe44da87ffc08a06b9b2180de0a2a9c724fb9287e806fd8d3","0x9c6383fd38b720c8f844878d5302c234a3a0c1092cf2a3af7826ced12bbcddb8","0xdbac80cb61ca80dd26890bb0b535ee6c1e2786bf312ff852fbf7d4173d8ac7ed","0xf40a76ccf424380b4f00d55f00b19e952bff1fcef760741b4e6ff049b741b86f","0xdb58ac3ff4bb8ab9ad2d681cd2fd83d21449757b6987ccd13a1ddcef1eb73c77","0xf77a9f4249c5aa3aeaff44af6f4aace16f586f5fa14b250f828713df5038f0c9","0xba260caaeba0d86bafd14efc1e5a700d3fb8ecb812af0c17c3040d631c4a4157","0x34d7e586062bbb45e1d7f0bb06eb18002fc5303d3de5ae6b78d2c591f4a418a2","0x792aba11ec86f780a6422b44b4054944c4e156c3527b767b6ec528136fb1c972","0x9bf4d962955bd6b7186826814097b80b39bc7e62c0b551aba40ef3ad984b3a4e","0xac97f655bc65cbfd896e0b9103af57790a4f4efa607c311e762321c1729ceba2","0x28b312c9c0b366e9f8f9bd2fe9b613181f33dd93679dcaf9dab272bee4a7753e","0xf0ef7bc635cb6ef8823190c010505a30903e058988186024d37ccddac2fe342e","0x17d822d164547a423627866ba4cb304cb307a2b012b463a508029129af21e06f","0x80ef2d70f19cf6d08de2d907116b6aece96b52b51caaf19ab3ecb8b45b222f13","0xc5db3b4d60913bbfd70118a77bcb444edf65715b3de2a14681f218592b66bb9d","0x916130ba570577e9df8fdd2342ce62f3c127abfc4efcc0ff32e88b92a66b9d79","0xc29abc19d36608e49a9af23f40dbd9013ba647af4296372c35ad497ea7946767","0x2fa037805aec52c1ddb25afa7521ef9d4e4228c72628bec635108b9d0a9f7ce6","0xefc665ab86e07e7ad1e7f3aa0291d5f35854d2928d862838c0c4bd067b5bb8ba","0x8f559f2188d8c0745153025d9e33d7ce97f200d66e4471e30e58329ddeb8a613","0x9b08093b170167d36a1f4a35a910c372ac9498f414f4a7688d82441e44f7857f","0xd5583395744841006edef2788aab273c49ac00abfafb673e02743fab57742651","0x4fee5313998387b882874e021904311a9a66f7c7ffac7f79bfab579f43a86764","0xb4af30ec981c17428c9f1402e9920cb90b1c93d049b6d548dfabbb95f31ca6ce","0x08aa4eb2294ff4c3e60a77afde99e7362ff07d3ecb733667074e810a16f10cc9","0x6a7f6af739b37c516bc0d575b36b576cbec55de531d618d159ece80347320a20","0x9368671b7e4433b4cc44ba060dfbb3bd84a7c605bf19252a4199e66743845e07","0x27ac4b7975c81074f7e88beb9ab58623d76a10acd84ca12f3d3aba5a8b6b1ed2","0x66c5a9b8ef8eeacf318dc4952c655a2834beb2f311faad250e65ec16db33152d","0x722447b2adcdfdd9f555f3bbd7c0e11a57b5177f099a94e13ac9268ad7d85e31","0x12f81c377124646a6f87604f35481c8c1587eb321b04e2e81661394db822e8fd","0x2d714a014deda538e380d97bd7f53d837779a65a79428112ef5028b7526cc760","0xcb20d6fb5df9aa2727fdaf31216d0b275865a17f686ed18e87d8691b13b83fe2","0x5d97c5016b1df765a705fabc236aae4704eb5004fb7d1e50c46948f7a34a99e3","0xb5e4a6c322833ea4c0df479b982c10e9954a4f58244a20e54afcb52b6cc4dbe7","0x5adab58925b1072f1c32cabd45c96d161de4b37081677dc0f1e0d96ba83cba61","0x341fabf9d9e2edfb1e253b1a7bf03236be759f9f4ff77bbd0a412ac958b94160","0x52f85ac01aaa561ea9f2b1e008b205442ad3a11e51da6117264468d60d0f42f9","0xd32c7b76a1867fb6dfc7d6815ba28ed3413d15e461a60e48d36479bb1815c1d5","0x8ea1d38203d9e429fd5342e3f0f3ac656210a4e4f51860657dddeacffa89eaa2","0x6afeeb2e8ac3e687427ad807d209b133b720ff491af471d48f9f7e6d2681622d","0xe1c3d7e1d4d356c878cfa7355ef361dabfa215b218434c560a3b7942ba5cf160","0xfbe45c86dfcf718f53aa16c7c7a0a0784c3bfc3c7f419a79c75d778c0ed7a832","0x1089fc0299dee7a2c1b55e146ccfe40249467e0e2eb3910f08eaaf5bb2e59a20","0x995788b4a1e94fb4e7510dad31b35870487ab3ad8664415dcb7516bd29d05fd7","0xac57c3158a362dd767506f1cbf8a42f160969cb1116061d8fe2497ee1cc2e2cb","0x5c245bc0c45d4fd47a2fbb4643a779fca555d73c4a013c063aa527169db83732","0x7034a1784df149bb491786248eb0f0191cf8d48e140347d7a57657dcdaf7660d","0xddcc28d142d9f1066dd6f3ff8404cf8ff1bc995d43ca74db19dc4ad0a352d9ff","0xb183446fe59ebe15b8d574bb2b79db28fb7e21ce4df1bbf1e9ecaf01c2ff604b","0xe62af88bd0a21e249b7079574b41c9c3313ea7d32b2c40e7560e3a46ee490cd7","0x12eb669cafdd62533628317bb3c8c923ead1aab5b7fc9f3ffb667f70d16a913b","0x48a9f1cddd5ee0bfb6f26c49087f8a67f64e5a16451a9a3ba317fd0012388bed","0x1cfe6f51acb5c0fa7781df2f22cda2d975ebedc2d21d964dba17b005d844e2de","0xa14a1627fe4b4bb88dc0cfdef04196075b6f4e018ae646de2e215e2f6d2cf7c5","0x66de90ee296171cca84db4170f00154a22d90223237ffdc6f4841b7edc38b3cd","0x3931edce2c2c6df685fa23751393e1522e12fd8a342106e11a1814df9972053b","0xbc40e9bee533d61dc165621b75923c1ce9e3afc052b6de36f181797fe6504d98","0xecd3142d4ea699b9c509fc55cf7e9ee8fbc3a6ac4b2a706544cdabeabfb00e34","0x8c0a4abb97c3862b8220b5aa56821c5d073c31d11eb57e8d6ac785c61bd99e7d","0x4d7873a239c8aad2a69edb2aa42ad607002d403a56952182de0cb05ca74a6cc2","0x7a711a2353631bde59976196af56b8be971bcaf4e944c00d7ee44ba40e4ace63","0x7fa2f03084f32cae9c1c2241c6c7863e94786333df6f075ee1a560fcd84ef1b6","0xdf4a1d91faaa6e39d981ebfe2b5fca9aa5c227e9b2f3f5291ed6ed33762dbf65","0xba373fdc0ca9287724972553f87ad2e40d2188add206bb27fd897d324f70924a","0x04c981a553364dac76736a50a8796dcf6b9dc2ae73cffd8b7afd2512bded0314","0x1bbfab358d237c462b322f5b9da96c918a002fd0e7318cb0b0af4c3ff065ba13","0x3600e4e6f6bcbaab7ca18e0ab7a4c4631fabf8dc4e77b6cd954210e771e02951","0x5edb3583ac80260b621078d07de3007242245414eceee40d99a52f6cfb531714","0x825b40c1ef5172df2c661a295b4021fca4f3147ce91e6aca8320a12d98ffbbd6","0xb5b1960030b2139e2c6db25a4071f7020bdeea82f21a25de47ff1f3b2cf62ed8","0xe2dd9e618c9764d09c567f46fb5d6feed4667fc0351f81e3f60683a9774aaaa2","0xd798de596ccbfcccf88cdadc8a63dcd79a73b15f4f2c72d1229fdc011ec136fe","0xe3bbecf062ac78fc959d09ad5b2822cea2eb2f4f3a98cd0d7b89df2c951cdef1","0x3f7a59623f3af1846bb121e6540e1f7ba12ef5bdfffd4129067ed5efef286249","0x84c0cc81c73bccbbb01d931e4a0faca96eb8dfe0c7fe78ae3f89eb0484a12885","0x67f08807dedf456114dbe7d9301d2a0db264b59a92851f5e4e15b5349242c303","0x25a9e18321fbe7ba3439373768d56f05dd9e185fd7d3d8851a880c51c027bf16","0x9121ec22c4dee9bb593a9e9f9e64b98bc400e2b58371bd02a41e543f03c18119","0x1702070a45ec59b7904ade643d1c63275e4385bb9d2dff4d34419664261f4da9","0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b"],"transactionsRoot":"0x8bd1641466051506c13b8130dd5fb644987e6dca244db09db59c4e730fe81179","uncles":[]}}

You can get the last tx is 0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b

➜  ~ curl --location 'https://cronos-evm.publicnode.com' \
--header 'Content-Type: application/json' \
--data '{
    "method": "eth_getTransactionByHash",
    "params": ["0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b"],
    "id": 2,
    "jsonrpc": "2.0"
}'
{"jsonrpc":"2.0","id":2,"result":{"blockHash":"0xa722dc712fb65ac7550ef28b5615b8388eee032a7a8e1fff4f79570b5ea3ad1e","blockNumber":"0xb1190c","from":"0x47aac420573b7ac523fcd82044ffe8afbb78beed","gas":"0x6f6f","gasPrice":"0x42f436be378","hash":"0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b","input":"0x646174613a2c7b2270223a226372632d3230222c226f70223a226d696e74222c227469636b223a2263726f73222c22616d74223a2231303030227d","nonce":"0xc0","to":"0x47aac420573b7ac523fcd82044ffe8afbb78beed","transactionIndex":"0xf1","value":"0x0","type":"0x0","v":"0x56","r":"0x96395cadf7bb50183705c7afa24efd3f743bf28311d39839dc974523f7fc8aa1","s":"0x6d57b16e032794faae947232b368b1270fbc3ceab3f49ee56188bf3b8a82384"}}
➜  ~ curl -v --location 'https://cronos-evm.publicnode.com' \
--header 'Content-Type: application/json' \
--data '{
    "method": "eth_getTransactionByHash",
    "params": ["0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b"],
    "id": 2,
    "jsonrpc": "2.0"
}'
*   Trying 104.18.23.142:443...
* Connected to cronos-evm.publicnode.com (104.18.23.142) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=publicnode.com
*  start date: Nov  6 17:23:06 2023 GMT
*  expire date: Feb  4 17:23:05 2024 GMT
*  subjectAltName: host "cronos-evm.publicnode.com" matched cert's "*.publicnode.com"
*  issuer: C=US; O=Google Trust Services LLC; CN=GTS CA 1P5
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: POST]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: cronos-evm.publicnode.com]
* h2h3 [user-agent: curl/7.85.0]
* h2h3 [accept: */*]
* h2h3 [content-type: application/json]
* h2h3 [content-length: 165]
* Using Stream ID: 1 (easy handle 0x139011e00)
> POST / HTTP/2
> Host: cronos-evm.publicnode.com
> user-agent: curl/7.85.0
> accept: */*
> content-type: application/json
> content-length: 165
>
* We are completely uploaded and fine
< HTTP/2 200
< date: Sun, 17 Dec 2023 06:09:30 GMT
< content-type: application/json
< access-control-max-age: 1728000
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< vary: Origin, accept-encoding
< x-envoy-upstream-service-time: 42
< cf-cache-status: DYNAMIC
< x-content-type-options: nosniff
< server: cloudflare
< cf-ray: 836cff64bc821ee0-NRT
< alt-svc: h3=":443"; ma=86400
<
{"jsonrpc":"2.0","id":2,"result":{"blockHash":"0xa722dc712fb65ac7550ef28b5615b8388eee032a7a8e1fff4f79570b5ea3ad1e","blockNumber":"0xb1190c","from":"0x47aac420573b7ac523fcd82044ffe8afbb78beed","gas":"0x6f6f","gasPrice":"0x42f436be378","hash":"0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b","input":"0x646174613a2c7b2270223a226372632d3230222c226f70223a226d696e74222c227469636b223a2263726f73222c22616d74223a2231303030227d","nonce":"0xc0","to":"0x47aac420573b7ac523fcd82044ffe8afbb78beed","transactionIndex":"0xf1","value":"0x0","type":"0x0","v":"0x56","r":"0x96395cadf7bb50183705c7afa24efd3f743bf28311d39839dc974523f7fc8aa1","s":"0x6d57b16e032794faae947232b368b1270fbc3ceab3f49ee56188bf3b8a82384"}}

You can see the tx 0x79eed4fe2578c791700fb63be1a8ee72fe11f0b55ac0527474b24b00a73dd94b is in block
0xb1190c

@lizixing lizixing changed the title transactions got by eth_getBlockByNumber has error data The transactions got by eth_getBlockByNumber has error data Dec 17, 2023
@yihuang
Copy link
Collaborator

yihuang commented Dec 17, 2023

yeah, it's a known issue with overflow blocks, when blocks includes too many txs that some tx execution exceeds block gas limit, and it's teicky to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants