Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 20, 2023

Bumps word-wrap from 1.2.3 to 1.2.4.

Release notes

Sourced from word-wrap's releases.

1.2.4

What's Changed

New Contributors

Full Changelog: jonschlinkert/word-wrap@1.2.3...1.2.4

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 20, 2023
grantmike pushed a commit to grantmike/evm-cctp-contracts that referenced this pull request Jan 23, 2025
### Summary

In PR 19 we added a bunch of fuzz-based tests for
`MessageTransmitterV2`:
https://github.com/circlefin/evm-cctp-contracts-private/pull/19. I
realized that we were not capturing the condition where:
`destinationCaller is 0, so we should use random addresses to call
receiveMessage()`. Instead, we were always just spoofing the 0-address
due to this line:
https://github.com/circlefin/evm-cctp-contracts-private/blob/220b071ecf7d3c221dfd71ad6f8802b25611ac89/test/v2/MessageTransmitterV2.t.sol#L1039,
which is equivalent to the tests for non-zero value destinationCallers.

### Changes

This updates the fuzz tests to take in a random caller. If the
destinationCaller is set, we spoof that address, otherwise we call with
a random fuzzed address.
grantmike pushed a commit to grantmike/evm-cctp-contracts that referenced this pull request Jan 23, 2025
### Summary

In PR 19 we added a bunch of fuzz-based tests for
`MessageTransmitterV2`:
https://github.com/circlefin/evm-cctp-contracts-private/pull/19. I
realized that we were not capturing the condition where:
`destinationCaller is 0, so we should use random addresses to call
receiveMessage()`. Instead, we were always just spoofing the 0-address
due to this line:
https://github.com/circlefin/evm-cctp-contracts-private/blob/220b071ecf7d3c221dfd71ad6f8802b25611ac89/test/v2/MessageTransmitterV2.t.sol#L1039,
which is equivalent to the tests for non-zero value destinationCallers.

### Changes 

This updates the fuzz tests to take in a random caller. If the
destinationCaller is set, we spoof that address, otherwise we call with
a random fuzzed address.
grantmike pushed a commit to grantmike/evm-cctp-contracts that referenced this pull request Jan 23, 2025
### Summary

In PR 19 we added a bunch of fuzz-based tests for
`MessageTransmitterV2`:
circlefin/evm-cctp-contracts-private#19. I
realized that we were not capturing the condition where:
`destinationCaller is 0, so we should use random addresses to call
receiveMessage()`. Instead, we were always just spoofing the 0-address
due to this line:
https://github.com/circlefin/evm-cctp-contracts-private/blob/220b071ecf7d3c221dfd71ad6f8802b25611ac89/test/v2/MessageTransmitterV2.t.sol#L1039,
which is equivalent to the tests for non-zero value destinationCallers.

### Changes 

This updates the fuzz tests to take in a random caller. If the
destinationCaller is set, we spoof that address, otherwise we call with
a random fuzzed address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants