-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V3.1 audit fixes #255
Open
CostinCarabas
wants to merge
50
commits into
feat/v3.1
Choose a base branch
from
v3.5-audit-fixes
base: feat/v3.1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
V3.1 audit fixes #255
Changes from 43 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
21d74ab
storage naming snake case -> camel case
CostinCarabas de92e66
multisig: add executed_actions storage
CostinCarabas 81cdbfb
multisig: change_quorum improvement
CostinCarabas d9d15f1
wrapper: remove dfp_biguint tests
CostinCarabas bd18c31
wrapper: more audit fixes
CostinCarabas 70a9a35
esdt-safe fix: distribute_fees
CostinCarabas 50657a4
esdt-safe: Add failedRefund storage mapper
CostinCarabas 939ad9d
code refactor, compilation, wasm files, Cargo.locks
CostinCarabas f25b8ef
esdt-safe: more audit fixes
CostinCarabas fe6ea58
bridge-proxy: audit fixes
CostinCarabas e8ad785
esdt-safe: fix unit tests
CostinCarabas 46c4ab2
multi-transfer: unit tests fixes
CostinCarabas 2a63507
multisig: code fixes + unit test fixes
CostinCarabas 82684b2
bridge-proxy: allow empty endpoint only if empty args
CostinCarabas c7f9490
clippy, compilation, proxy fixes
CostinCarabas 74b68f2
bridge-proxy: sc,test fixes
CostinCarabas 0da9aa3
clean commented code
CostinCarabas a4f51fa
multi-transfer: batchTransferEsdtToken: refund if TransferRole
CostinCarabas dab4a14
multi-transfer: move_refund_batch_to_safe fix
CostinCarabas 6c13007
multisig: clearActionsForBatchId
CostinCarabas 2f1b424
esdt-safe: create_transaction add min_bridge_amount
CostinCarabas 87441db
Merge pull request #256 from multiversx/bridge-proxy-refund-refactor
CostinCarabas 0c4a1b2
Merge branch 'feat/v3.1' into v3.5-audit-fixes
CostinCarabas b620abe
Merge remote-tracking branch 'origin/feat/v3.1' into v3.5-audit-fixes
CostinCarabas bba190b
Merge remote-tracking branch 'origin/v3.5-audit-fixes' into v3.5-audi…
CostinCarabas 05616f4
multisig: add bridgedTokensWrapperDepositLiquidity
CostinCarabas b560b2e
fixes after review
CostinCarabas 52f720a
Fix tests
CostinCarabas bfc081c
test fixes
CostinCarabas d8637b2
bridge-proxy: Refactor refund storage and endpoint
CostinCarabas 2924e4f
bridge-proxy: tests fixes
CostinCarabas 7499d01
multi-transfer: test fixes
CostinCarabas 65aba3d
multi-transfer: remove commented code
CostinCarabas 566a2a0
bridge-proxy: refund unit test
CostinCarabas 7cc699c
clippy fixes
CostinCarabas f18a048
multi-transfer: add unit test
CostinCarabas 13d34c7
bridge-proxy: Clear storages after refund
CostinCarabas 5f05e2e
bridge-proxy: Remove cooldown from refund
CostinCarabas 13f8018
Merge pull request #263 from multiversx/bridge-proxy-clear-storages-a…
CostinCarabas 8f1211f
multisig: clear_action fix
CostinCarabas 3e1d993
Merge branch 'feat/v3.1' into v3.5-audit-fixes
CostinCarabas e6d3095
multisig: test fixes
CostinCarabas 87f80bd
bridge-proxy: fix tests & lower gas limit for callback
CostinCarabas ad82d8f
Fixes after review
CostinCarabas 227e6da
bridged-tokens-wrapper: fix unit test
CostinCarabas 4f6a6eb
bridge-proxy: add unit test for empty endpoint and non-empty gas limit
CostinCarabas 05515ec
Add events for finish execute
CostinCarabas 7db4577
unit tests fixes after reviews applied
CostinCarabas 247fb5b
multi-transfer: refactor batch_transfer
CostinCarabas 38538b9
multisig: Fix unit tests
CostinCarabas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if i send empty endpoint and some arguments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then the
if
statement would be executed and we wouldThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrote an integration test for this. Apparently, if I send this RAW SC call data
000000000000000002faf08000
(empty function and 50 mil gas limit) it does not refund the transfer. Good catch @dragos-rebegeaThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed the condition to
Added unit test.