Skip to content

Commit

Permalink
Add new superfluid delegation message to type ignorer
Browse files Browse the repository at this point in the history
  • Loading branch information
pharr117 committed Sep 4, 2023
1 parent c9616ce commit f9c1461
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions core/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,12 @@ var messageTypeIgnorer = map[string]interface{}{
staking.MsgCreateValidator: nil,
staking.MsgEditValidator: nil,
// Delegating and Locking are not taxable
superfluid.MsgSuperfluidDelegate: nil,
superfluid.MsgSuperfluidUndelegate: nil,
superfluid.MsgSuperfluidUnbondLock: nil,
superfluid.MsgLockAndSuperfluidDelegate: nil,
superfluid.MsgUnPoolWhitelistedPool: nil,
superfluid.MsgSuperfluidDelegate: nil,
superfluid.MsgSuperfluidUndelegate: nil,
superfluid.MsgSuperfluidUnbondLock: nil,
superfluid.MsgLockAndSuperfluidDelegate: nil,
superfluid.MsgUnPoolWhitelistedPool: nil,
superfluid.MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition: nil,

// Setting validator pref is not taxable
valsetpref.MsgSetValidatorSetPreference: nil,
Expand Down
11 changes: 6 additions & 5 deletions osmosis/modules/superfluid/types.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package superfluid

const (
MsgSuperfluidDelegate = "/osmosis.superfluid.MsgSuperfluidDelegate"
MsgSuperfluidUndelegate = "/osmosis.superfluid.MsgSuperfluidUndelegate"
MsgSuperfluidUnbondLock = "/osmosis.superfluid.MsgSuperfluidUnbondLock"
MsgLockAndSuperfluidDelegate = "/osmosis.superfluid.MsgLockAndSuperfluidDelegate"
MsgUnPoolWhitelistedPool = "/osmosis.superfluid.MsgUnPoolWhitelistedPool"
MsgSuperfluidDelegate = "/osmosis.superfluid.MsgSuperfluidDelegate"
MsgSuperfluidUndelegate = "/osmosis.superfluid.MsgSuperfluidUndelegate"
MsgSuperfluidUnbondLock = "/osmosis.superfluid.MsgSuperfluidUnbondLock"
MsgLockAndSuperfluidDelegate = "/osmosis.superfluid.MsgLockAndSuperfluidDelegate"
MsgUnPoolWhitelistedPool = "/osmosis.superfluid.MsgUnPoolWhitelistedPool"
MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition = "/osmosis.superfluid.MsgUnlockAndMigrateSharesToFullRangeConcentratedPosition"
)

0 comments on commit f9c1461

Please sign in to comment.