Skip to content

Size too big for KZG blob input

Crash log in dedicated pipeline:

    # max: 125984
    # 115915/115915
    # 037567/037567
    # 051607/051607
    # 074984/074984
    # Failed test 'retrieve KZG data'
    # at ./t/35-blockchain-eip-4844.t line 137
    # Node::Ethereum::KZG::Exception::X::KGZ::Blob::Encode::Input: size too big 223262, max=126945
    # Failed test 'found keys in KZG data'
    # at ./t/35-blockchain-eip-4844.t line 138
Type check failed in binding to parameter '$buffer'; expected Buf[uint8] but got Any (Any)
  in method buf2hex at /usr/share/perl6/site/sources/CE2E7A17D34ED988D60E8B28E9008818274D7001 (Net::Ethereum) line 668
  in block  at ./t/35-blockchain-eip-4844.t line 140
  in sub subtest at /usr/share/perl6/core/sources/6A2D81BDFAC159D68D8D7B768536E3D8FE46A26F (Test) line 422
  in block <unit> at ./t/35-blockchain-eip-4844.t line 93
    # You planned 26 tests, but ran 10
    # You failed 2 tests of 10

To move forward we have to catch it in test and dump the blobs to binary file for the postmortem. Actually I think the root issue is at Node::Ethereum::KZG module.

Edited by Konstantin Narkhov