Repository navigation
Change/deposit hardening - #134
Merged
Merged
Conversation
…08 logs A contract that emitted ExecutionSuccess and took execTransaction calldata was credited as a native deposit of any amount with no value moved. An untraced Safe transfer is now credited only when tx.To is an official Safe proxy (v1.1.1 to v1.5.0) pointing at an official singleton; a failed lookup fails the block so it is retried. Chains with EIP-7708 log every native transfer as an ERC20-style Transfer from 0xff..fe. Those logs no longer become a second, token transfer.
An output listing several addresses was emitted as a full-value deposit to each of them, although any listed key may be able to spend it. Only outputs that resolve to exactly one address are now emitted as transfers and UTXOs.
Text memos were trimmed, so two different on-chain memos could look the same. They are now passed through exactly. A payment to a muxed (M...) address lost its embedded id. When the transaction has no memo, the id is now emitted as an id memo.
Collaborator
|
Review findings:
Fixes pushed on top:
|
… muxed id - Read Safe proxy code at the tx block and require an official singleton at N-1 and N - Cache only proxy code; fail every block whose Safe lookup errors - Skip bare multisig prevouts on the spend side - Use the muxed id over the tx memo for Stellar payments - Fix Safe RPC tests passing nil confirmations
vietddude
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hardens deposit parsing against fake and mis-attributed credits on EVM, Bitcoin and Stellar.
Changes
EVM
execTransactioncalldata and emittedExecutionSuccesswas reported as a native deposit of the decoded amount, with no value moved. When no trace is available, the indexer now confirmstx.Tois an official Safe proxy (v1.1.1 to v1.5.0) whose slot 0 points at an official singleton, usingeth_getCodeandeth_getStorageAt.safe-global/safe-deployments. Proxy code hashes were derived from the official proxy factories and are identical on Ethereum, BSC and Base.Transferlog from0xff…fe. These no longer become a second, token transfer.Bitcoin
Stellar
M...address lost its embedded id. When the transaction has no memo, the id is now emitted as anidmemo. A transaction memo, if present, wins.Behaviour changes to be aware of
Testing
to_muxed_id,into_muxed_id) should be confirmed with one real muxed payment on testnet.