agoric-sdk: ag0 intermittent restart failure due to gas calculation

Describe the bug

A number of Agoric mainnet0 validators have been jailed unexpectedly, due to failure of nodes to restart. Logs seem to include:

... error during handshake: error on replay: wrong Block.Header.LastResultHash.  Expected E6358A...

Diagnosis: https://github.com/Agoric/agoric-sdk/issues/5694#issuecomment-1183656553

To Reproduce

see https://github.com/Agoric/agoric-sdk/issues/5694#issuecomment-1171637226

Expected behavior

mainnet0 nodes restart reliably, avoiding jailing

Platform Environment

ag0. (IOU git hash)

cc @dtribble @zmanian @jessysaurusrex @arirubinstein

Additional Context

see also:

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 29 (16 by maintainers)

Most upvoted comments

Ok I think I might have figured it out!

It seems Agoric’s consensus params do not set a max gas.

The SDK seems to think this is ok, but I think that might actually be a bug!