Skip to content

Commit

Permalink
Update prdoc/pr_6689.prdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou authored Jan 10, 2025
1 parent a6b72d6 commit 2b5675a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prdoc/pr_6689.prdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ doc:
- audience: Runtime Dev
description: |-
Update the current approach to attach the `ref_time`, `pov` and `deposit` parameters to an Ethereum transaction.
Previously we will pass these 3 parameters along with the signed payload, and check that the fees resulting from `gas x gas_price` match the actual fees paid by the user for the extrinsic.
Previously, these three parameters were passed along with the signed payload, and the fees resulting from gas × gas_price were checked to ensure they matched the actual fees paid by the user for the extrinsic

This approach unfortunately can be attacked. A malicious actor could force such a transaction to fail by injecting low values for some of these extra parameters as they are not part of the signed payload.

Expand Down

0 comments on commit 2b5675a

Please sign in to comment.