Skip to content

Conversation

@katspaugh
Copy link
Member

A follow up on #152. There's little reason passing a version from the frontend, so I hard-coded it in the endpoint function.

@katspaugh katspaugh requested a review from iamacook April 4, 2024 13:42
@github-actions
Copy link

github-actions bot commented Apr 4, 2024

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

tx: Omit<RelayTransactionRequest, 'version'>,
): Promise<RelayTransactionResponse> {
return postEndpoint(baseUrl, '/v1/chains/{chainId}/relay', { path: { chainId }, body })
const VERSION = '1'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, wait, it's the version of the contract, not the API, isn't it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@katspaugh katspaugh closed this Apr 4, 2024
@katspaugh katspaugh deleted the relay-version branch April 4, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants