Skip to content

error creating aggregate: sub-deals are too large to fit in the index #22

Description

@longfeiWan9

Setup for xchainClient:

  • setting "TargetAggSize": 4194304 (4MB) in config.json
  • run xchainClient with buffer and aggregation
    ./xchainClient daemon --config ./config/config.json --chain avalanche --buffer-service --aggregation-service
    
  • run xchainClient to upload a file that is around 1.2MB
    • success uploaded and invoke smart contract on Avalanche
    • event log is emitted and cought by the xchainClient daemon.
    • file paddedSize is 2097152 which is smaller than targged Aggregation size.
  • Received the error below
    error creating aggregate: sub-deals are too large to fit in the index: 4194304 (packed subdeals) + 2048 (index) > 4194304 (dealSize)
    

From my understanding, padded piece size is smaller than the targeted aggregation size and it should wait for more files. But I might misunderstand something.

Metadata

Metadata

Assignees

Labels

M1bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status
Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions