-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keystone: add router and other refactors (#13426)
* keystone: Split forwarder into two contracts * keystone: Add a ConfigSet event * add events to router, further changes * forwarder: Use OwnerIsCreator, ITypeAndVersion * Remove TODO * Replace _splitSignature with code * minor gas savings by caching config var * Cache array length * Remove TODO * Port over reentrancy guard optimization * Don't assign signers twice * Update gethwrappers * Address some feedback on KeystoneFeedsConsumer * Inline signer in setConfig/clearConfig * Update gethwrappers * Remove unused import * prettier format * Generate bindings for router too * Update gethwrappers * Fix keystone scripts * Add KeystoneRouter tests * Update snapshot * Remove redundant operations * Remove more variables * Remove another unnecessary conversion * Remove unnecessary version check * ConfigId bytes32 => uint64 * Slight improvement to error path with duplicate signer * Optimize clearConfig function * More micro optimizations * Inline functions * Remove dangling error * Move things around * Add reportId to ReportProcessed * Handle empty receiver address case * Side: update "f" value in CapabilityRegistry * Nit: import order * Style Guide: uint256 i = 0 * Add forwarder and router getters * Add changesets * Remove unused error * Update gethwrappers * receiverAddress -> receiver * Update gethwrappers --------- Co-authored-by: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com> Co-authored-by: DeividasK <[email protected]>
- Loading branch information
1 parent
4fdfffd
commit 592b2bb
Showing
20 changed files
with
1,681 additions
and
297 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#internal |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@chainlink/contracts': patch | ||
--- | ||
|
||
#internal |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.