You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user of Besu RPC, if my node is using Bonsai storage format, the RPC should provide a unique exception if the node is attempting a look back farther than the historical-block-limit. Currently, Besu will return default or null values and not raise an exception. This is not out of spec, since the specification does not account for Bonsai-type pruning. An exception is better than null or default values in this case, as that information may be wrong entirely and considered a "successful" call-back.
This code section will need to be updated if we want to add additional exceptions based on Bonsai's limits.
Acceptance Criteria
Besu's RPC API is able to raise an exception when met with a block or state value older than the historical-block-limit
Besu should error out the API call and not return success, or a null/default value that may improperly be returned for that value (i.e. querying block 513 should not return null for certain API calls as if the value was null, but an exception for the block limit, even if the value really would be null)
The text was updated successfully, but these errors were encountered:
Description
As a user of Besu RPC, if my node is using Bonsai storage format, the RPC should provide a unique exception if the node is attempting a look back farther than the
historical-block-limit
. Currently, Besu will return default or null values and not raise an exception. This is not out of spec, since the specification does not account for Bonsai-type pruning. An exception is better than null or default values in this case, as that information may be wrong entirely and considered a "successful" call-back.This code section will need to be updated if we want to add additional exceptions based on Bonsai's limits.
Acceptance Criteria
historical-block-limit
The text was updated successfully, but these errors were encountered: