-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: update RPC abis and behavior #94
Conversation
…dress-to-config' into feat/grt-230-update-rpc-abis-and-behavior
…eat/grt-230-update-rpc-abis-and-behavior
…-behavior' into feat/grt-230-update-rpc-abis-and-behavior
* @throws Will throw an error if the chains array is empty or if the transaction fails. | ||
* @returns A promise that resolves when the request is successfully created. | ||
*/ | ||
createRequest(epoch: bigint, chains: Caip2ChainId): Promise<void>; |
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.
👁️
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.
oops this was when I was using some old abi and refactoring 😅
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.
removed this change from the protocolProvider itself too
@@ -152,13 +153,13 @@ export class ProtocolProvider implements IProtocolProvider { | |||
address: contracts.oracle, | |||
abi: oracleAbi, | |||
client: this.l2WriteClient, | |||
}); | |||
}) as GetContractReturnType<typeof oracleAbi, typeof this.l2WriteClient, Address>; |
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.
Do we need this as
for these contracts?
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.
nope, removed
private getDefaultAccessControl(): AccessControl { | ||
return { | ||
user: this.protocolProvider.getAccountAddress(), | ||
data: "0x", |
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.
The 0x
is excellent, no need to add anything else to the data
field
The base branch was changed.
🤖 Linear
Closes GRT-230
Description