Automatically check the domain and message hashes sent to Ledger matches the ones in the simulation
#195 aperta il 10 mag 2024
Metriche repository
- Star
- (98 stelle)
- Metriche merge PR
- (Merge medio 2g 4h) (16 PR mergiate in 30 g)
Descrizione
Recently, due to a bug fixed in https://github.com/base-org/contract-deployments/pull/166/files, we were getting different hashes sent to the ledger devices compared to the ones in the Tenderly simulation. It would be great if we can detect this by automatically checking the domain and message hashes sent to Ledger matches the ones in the simulation. This may require us to migrate away from Tenderly to a more programmatically parsable one.
See https://www.notion.so/oplabs/PM-48-Wrong-message-hash-sent-to-Signers-Ledger-during-an-L2-contract-upgrade-c893131d9daa440bad6fe09c848db54d for the original postmortem