contracts
contracts copied to clipboard
feat: add Arbitrum GRT bridge (rebased, bridge only)
Deployment commands in the CLI are also updated to include an L2 deployment. Configuration and address book entries for Arbitrum are added as well.
This is a rebase of #552 and related PRs, including only the bridge (no changes to staking or rewards).
The changes in this PR correspond to GIP-0031
Codecov Report
Base: 90.57% // Head: 91.59% // Increases project coverage by +1.01% :tada:
Coverage data is based on head (
d35acb6) compared to base (3605081). Patch coverage: 98.98% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## dev #699 +/- ##
==========================================
+ Coverage 90.57% 91.59% +1.01%
==========================================
Files 35 42 +7
Lines 1762 1999 +237
Branches 296 361 +65
==========================================
+ Hits 1596 1831 +235
- Misses 166 168 +2
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 91.59% <98.98%> (+1.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| contracts/curation/Curation.sol | 100.00% <ø> (ø) |
|
| contracts/governance/Pausable.sol | 88.88% <ø> (ø) |
|
| contracts/governance/Managed.sol | 94.54% <85.71%> (-3.54%) |
:arrow_down: |
| contracts/upgrades/GraphProxyStorage.sol | 90.00% <87.50%> (+0.52%) |
:arrow_up: |
| contracts/gateway/BridgeEscrow.sol | 100.00% <100.00%> (ø) |
|
| contracts/gateway/GraphTokenGateway.sol | 100.00% <100.00%> (ø) |
|
| contracts/gateway/L1GraphTokenGateway.sol | 100.00% <100.00%> (ø) |
|
| contracts/governance/Controller.sol | 100.00% <100.00%> (ø) |
|
| contracts/governance/Governed.sol | 100.00% <100.00%> (ø) |
|
| contracts/l2/gateway/L2GraphTokenGateway.sol | 100.00% <100.00%> (ø) |
|
| ... and 6 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Socket Security Pull Request Report
Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.
📜 Install scripts
Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.
| Package | Script field | Source |
|---|---|---|
| [email protected] (upgraded) | postinstall |
package.json |
Pull request report summary
| Issue | Status |
|---|---|
| Install scripts | ⚠️ 1 issue |
| Native code | ✅ 0 issues |
| Bin script confusion | ✅ 0 issues |
| Bin script shell injection | ✅ 0 issues |
| Unresolved require | ✅ 0 issues |
| Invalid package.json | ✅ 0 issues |
| HTTP dependency | ✅ 0 issues |
| Git dependency | ✅ 0 issues |
| Potential typo squat | ✅ 0 issues |
| Known Malware | ✅ 0 issues |
| Telemetry | ✅ 0 issues |
| Protestware/Troll package | ✅ 0 issues |
Bot Commands
To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] [email protected]
@SocketSecurity ignore [email protected]
Powered by socket.dev