Skip to content

feat(apis/vara-eth): support permit, requestCodeValidationOnBehalf#2446

Draft
osipov-mit wants to merge 1 commit intomainfrom
do-contract-permit
Draft

feat(apis/vara-eth): support permit, requestCodeValidationOnBehalf#2446
osipov-mit wants to merge 1 commit intomainfrom
do-contract-permit

Conversation

@osipov-mit
Copy link
Copy Markdown
Member

Related to gear-tech/gear#5362

@osipov-mit osipov-mit requested a review from vraja-nayaka April 21, 2026 18:06
@osipov-mit osipov-mit added the D5-vara-eth-api @vara-eth/api label Apr 21, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the Ethereum contract clients by introducing a modular base architecture and reorganizing files into a dedicated contracts directory. It updates the ABIs for the Mirror, Router, and WrappedVara contracts and adds support for EIP-712 typed data signing, EIP-4844 blob transactions for code validation, and permit-based interactions. Feedback was provided regarding an unimplemented method in the Mirror client that should be addressed before release.

Comment on lines +250 to +253
executableBalanceTopUpWithPermit(_value: bigint, _deadline: bigint, _v: number, _r: Hex, _s: Hex): Promise<void> {
// TODO: implement
throw new Error('Method not implemented.');
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The method is currently unimplemented and throws an error. If this is not intended for the current release, it should be removed or marked with a more descriptive TODO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D5-vara-eth-api @vara-eth/api

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant