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
Relayers batch IBC messages in an SDK multi-message. If one of these messages contains a wasm-hook execution (or lifecycle callback) it will execute a contract. Executing a contract means the expected gas of an IBC message execution is no longer "constant", but may vary depending on the contract's implementation. As a consequence, calling a contract with excesive gas consumption may fail the whole TX batch.
This can lead to a temporary DoS for message transfers and puts the onus on the relayers to manage it. We should ensure that either:
There is a hard-cap on the gas that a wasm-hooks contract can use
There are still open design questions here. My opinion is that improving multi-message and ensuring that relayers can deal with rogue packets is the right solution here,
Acceptance Criteria
Only offending transactions should fail and others shouldn't be affected
There is no expense risk for relayers on high gas
The text was updated successfully, but these errors were encountered:
Background
Relayers batch IBC messages in an SDK multi-message. If one of these messages contains a wasm-hook execution (or lifecycle callback) it will execute a contract. Executing a contract means the expected gas of an IBC message execution is no longer "constant", but may vary depending on the contract's implementation. As a consequence, calling a contract with excesive gas consumption may fail the whole TX batch.
This can lead to a temporary DoS for message transfers and puts the onus on the relayers to manage it. We should ensure that either:
or a combination of the above.
Suggested Design
There are still open design questions here. My opinion is that improving multi-message and ensuring that relayers can deal with rogue packets is the right solution here,
Acceptance Criteria
The text was updated successfully, but these errors were encountered: