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

Add a new asserter client with ignoring rosetta spec validation. #502

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

jacquescaocb
Copy link
Contributor

Fixes # .

Motivation

in somecases, rosetta spec validation is not helpful, and it causes some operation work, so now we add a new client which can ignore rosetta spec validation.

Solution

Open questions

ignoreRosettaSpecValidation: true,
}

asserter.operationStatusMap = map[string]bool{}
Copy link
Contributor

Choose a reason for hiding this comment

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

let's move this to a const list in validation.go

@@ -0,0 +1,34 @@
// Copyright 2020 Coinbase, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

2024???

Copy link
Contributor Author

Choose a reason for hiding this comment

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

from what I saw, we have never changed copyright in asserter last 4 years. only those files in types, client, and server directories have been changed every year.

but anyway, I just changed all files which have copyright 2020.

Copy link
Contributor

@xiaying-peng xiaying-peng left a comment

Choose a reason for hiding this comment

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

Great work!

@cb-heimdall
Copy link

Review Error for xiaying-peng @ 2024-02-05 19:56:08 UTC
User must have write permissions to review

@cb-heimdall
Copy link

Review Error for xiaying-peng @ 2024-02-05 19:56:33 UTC
User must have write permissions to review

@jacquescaocb jacquescaocb merged commit fa62d03 into coinbase:master Feb 21, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants