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

Transaction preview seems to ignore 'disable_auth_checks' flag #759

Closed
yr12345678 opened this issue Jun 18, 2024 · 2 comments
Closed

Transaction preview seems to ignore 'disable_auth_checks' flag #759

yr12345678 opened this issue Jun 18, 2024 · 2 comments

Comments

@yr12345678
Copy link

yr12345678 commented Jun 18, 2024

Through some experimenting, it seems that the Transaction Preview call via the Gateway API is ignoring the disable_auth_checks flag, causing transaction previews that require authorization to fail even though the flag is set to true. The exact same request via the Core API produces a succesful transaction preview.

I believe this piece of code where TransactionPreviewRequestFlags is initialized, is where the auth check flag is ignored/forgotten:

var coreRequestFlags = new CoreModel.TransactionPreviewRequestFlags(
useFreeCredit: request.Flags.UseFreeCredit,
assumeAllSignatureProofs: request.Flags.AssumeAllSignatureProofs,
skipEpochCheck: request.Flags.SkipEpochCheck);
.

@gguuttss
Copy link

Second this.

@PawelPawelec-RDX
Copy link
Contributor

we have already fixed that (on develop branch), will be released in next gateway release.

@dhedey dhedey closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants