lotus/chain/consensus/filcns
Steven Allen 04bc4405c7 fix: chain: check against the inclusion price at the correct height
We need to use the height at which the messages will be executed, not
the height of the previous tipset. This brings the gas checking for
validation with the gas we actually _charge_ during message execution.

This only matters for the Calico upgrade (the only upgrade where we
changed the gas prices).

This change could potentially cause a block at that height to be
rejected if it includes a message with insufficient gas for inclusion.
However, that _should_ have shown up as a miner penalty when we executed
the blocks in the following tipset. Given that there were no miner
penalties at 265199-265201, this change should be "safe".
2022-02-21 18:12:51 +00:00
..
compute_state.go correctly wrap hotview in the context for compute_state 2022-02-04 16:57:08 +02:00
filecoin.go fix: chain: check against the inclusion price at the correct height 2022-02-21 18:12:51 +00:00
mine.go Merge remote-tracking branch 'origin/master' into deps/update-ctx-dsbs 2021-12-17 13:01:22 +01:00
upgrades.go feat: tweak v15 migration params 2022-02-16 13:04:48 -05:00
weight.go chain: Cleanup consensus logic 2021-09-02 18:09:37 +02:00