Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Move FulfillResultCodes to interfaces folder * Rename Function.sol setArgs -> addArgs * Rename Routable s_config_hash -> s_configHash * Make Routable updateConfig public for re-use in constructor * Move comment out of IConfigurable * Make Routable s_router private with an internal getter * Rename constant to ROUTER_ID * Rename RouterBase s_config_hash -> s_configHash * Rename Routable.sol -> HasRouter.sol * Add IOwnableRouter interface * FunctionsSubscriptions MustBeSubOwner -> MustBeSubscriptionOwner * Make RouterBase variable private * RouterBase togglePause -> pause/unpause * Use full semantic version in typeAndVersion * ToS Allow List rename proof -> signature * Change acceptTermsOfService arguments from signature to raw r,s,v * Prettier format 💅 * Remove RouterBase versioning * Move RequestTimedOut event to Router * Rename requestSubscriptionOwnerTransfer -> proposeSubscriptionOwnerTransfer * (test): Update tests for changes * (test): Add v0 gas test * Regenerate geth wrappers * Use FulfillResult within FunctionsRouter * FunctionsRouter getConfig getter * Strip down FunctionsClient.sol * Rename GAS_FLAX_INDEX -> MAX_CALLBACK_GAS_LIMIT_FLAGS_INDEX * Use named params in structs in FunctionsRouter * Use named params in RouterBase.sol * Split overloaded getContractById into getContractById & getProposedContractById * Cast IFunctionsCoordinator earlier in the sendRequest flow * Split updateConfig flow into updateConfigSelf vs. updateConfig * Reduce contract size by removing Router's config hash getter * Remove second ToS Allow List message helper * FunctionsRouter assign variable for fulfillmentCost * Use abi.encode to convert bytes32 -> bytes * Turn RouterBase.validateProposedContracts -> FunctionsRouter.sendRequestToProposed * Add extra guards against double applying config updates * Delete contract proposal set once applied * Re-use _onlySubscriptionOwner * Pass _pay gasUsed as uint96 * Remove config hashes * Regenerate geth wrappers * Amend merge conflict * Regenerate geth wrappers * Prettier & gethwrappers * (test): amend foundry test
- Loading branch information