Skip to content

Commit

Permalink
First attempt at Sui transfer verification.
Browse files Browse the repository at this point in the history
* Pulls down all information about a PTB
* Finds Wormhole Bridge transfers
* Calculates the difference between the new and previous object versions for the balance differences
* Compares the WH events with the balance differences
  • Loading branch information
Maxwell Dulin authored and Maxwell Dulin committed Sep 26, 2024
1 parent deb1ad1 commit 73b795c
Show file tree
Hide file tree
Showing 4 changed files with 1,740 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/certusone/wormhole/node/cmd/ccq"
"github.com/certusone/wormhole/node/cmd/debug"
"github.com/certusone/wormhole/node/cmd/spy"
"github.com/certusone/wormhole/node/cmd/transfer-verifier"
transferverifier "github.com/certusone/wormhole/node/cmd/transfer-verifier"
"github.com/certusone/wormhole/node/pkg/version"

"github.com/spf13/cobra"
Expand All @@ -16,7 +16,6 @@ import (
"github.com/spf13/viper"

"github.com/certusone/wormhole/node/cmd/guardiand"

)

var cfgFile string
Expand Down Expand Up @@ -52,6 +51,7 @@ func init() {
rootCmd.AddCommand(guardiand.NodeCmd)
rootCmd.AddCommand(spy.SpyCmd)
rootCmd.AddCommand(transferverifier.TransferVerifierCmd)
rootCmd.AddCommand(transferverifier.TransferVerifierCmdSui)
rootCmd.AddCommand(ccq.QueryServerCmd)
rootCmd.AddCommand(guardiand.KeygenCmd)
rootCmd.AddCommand(guardiand.AdminCmd)
Expand Down
Loading

0 comments on commit 73b795c

Please sign in to comment.