band

Prop 13: BCIP-12: Increase the maximum data size for oracle module

Context

The purpose of this proposal is to adjust two parameters, specifically MAX_CALLDATA_SIZE and MAX_REPORT_DATA_SIZE, in order to expand the new use-cases of the Band Oracle. This expansion is particularly needed for oracle data generated by generative AI which requires larger input and output sizes.

The proposed changes are as follows:

  • Increasing MAX_CALLDATA_SIZE from 256 to 4096 to allow for a larger maximum byte size of calldata.
  • Increasing MAX_REPORT_DATA_SIZE from 512 to 4096 to enable a larger maximum byte size for reports from validators.

Effects

For All Validators: All validators providing oracle data will need to adjust MAX_DATA_SIZE in the data source executor to 4096.

For Users/Developers: They will be able to create DS/OS with larger input and output.