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

scripts: add compare-deposits for quick main/fs chain comparisons #400

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

roman-khimov
Copy link
Member

No description provided.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM.

scripts/compare-deposits/compare-deposits.go Show resolved Hide resolved
scripts/compare-deposits/compare-deposits.go Show resolved Hide resolved
scripts/compare-deposits/go.mod Outdated Show resolved Hide resolved
"github.com/urfave/cli"
)

var errStateMatches = errors.New("state matches")
Copy link
Member

Choose a reason for hiding this comment

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

And BTW, this error is unused, just remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Copy link
Contributor

@cthulhu-rider cthulhu-rider left a comment

Choose a reason for hiding this comment

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

good overall, i wont dive into the code deeply according to #400 (comment)

scripts/compare-deposits/compare-deposits.go Show resolved Hide resolved
neoFSContract := c.Args().Get(1)
rpcFS := c.Args().Get(2)
if rpcMain == "" {
return errors.New("no arguments given")
Copy link
Contributor

Choose a reason for hiding this comment

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

wont be very true with "" hello world input

@roman-khimov roman-khimov merged commit 42ef711 into master Jun 14, 2024
10 checks passed
@roman-khimov roman-khimov deleted the compare-deposits branch June 14, 2024 09:39
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