Skip to content
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

Support Sei addresses in transfer precompiles #2021

Merged
merged 13 commits into from
Jan 6, 2025

Conversation

dssei
Copy link
Contributor

@dssei dssei commented Jan 6, 2025

Describe your changes and provide context

Support Sei addresses in transfer precompiles

Testing performed to validate your change

  • unit tests
  • local testing

@@ -320,7 +335,7 @@ func (p PrecompileExecutor) getAuditorsFromArg(ctx sdk.Context, arg interface{})

auditors := make([]*cttypes.Auditor, 0)
for _, auditor := range evmAuditors {
auditorAddr, _, err := p.accAddressesFromArg(ctx, auditor.AuditorAddress)
auditorAddr, err := p.getValidSeiAddressFromString(ctx, auditor.AuditorAddress)
Copy link
Contributor

Choose a reason for hiding this comment

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

Was probably in the scope of the previous PR, but do we need to do any validation on the contents of the Auditor objects?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry can ignore: Just expanded and see that validations are performed below

@dssei dssei merged commit 417b4a4 into feature/ct_module Jan 6, 2025
28 checks passed
@dssei dssei deleted the ct_sei_address_support_transfer_precompile branch January 6, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants