Skip to content

Commit

Permalink
minor correction NativeTokenRefund.spec (#922)
Browse files Browse the repository at this point in the history
countexamples
counterexamples
  • Loading branch information
XxAlex74xX authored Mar 6, 2025
1 parent f9cc387 commit 9bffa90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certora/specs/NativeTokenRefund.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rule nativeTokenRefundIsSentToRefundReceiver(
// gas refund parameters must be set
require baseGas > 0 && gasPrice > 0;

// the refund receiver must not be zero, because in such a case tx.origin will be used and it'll come up with countexamples related to overflow
// the refund receiver must not be zero, because in such a case tx.origin will be used and it'll come up with counterexamples related to overflow
// and adding pre-requirements is tricky
// also, it shouldn't be the safe itself
require refundReceiver != 0 && refundReceiver != currentContract;
Expand Down

0 comments on commit 9bffa90

Please sign in to comment.