Skip to content

Commit 28879d2

Browse files
committed
Add ignorers for new message types in need of research
1 parent abbba5c commit 28879d2

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

core/tx.go

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import (
2929
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/incentives"
3030
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/lockup"
3131
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/protorev"
32+
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/smartaccount"
3233
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/superfluid"
3334
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/tokenfactory"
3435
"github.com/DefiantLabs/cosmos-tax-cli/osmosis/modules/valsetpref"
@@ -106,6 +107,10 @@ var messageTypeIgnorer = map[string]interface{}{
106107
ibc.MsgChannelCloseConfirm: nil,
107108
ibc.MsgChannelCloseInit: nil,
108109
ibc.MsgSubmitMisbehaviour: nil,
110+
111+
// Interchain accounts are being explored for taxable types
112+
ibc.InterchainAccountsMsgRegisterInterchainAccount: nil,
113+
ibc.InterchainAccountsMsgSendTX: nil,
109114
// Creating and modifying gauges does not create taxable events
110115
incentives.MsgCreateGauge: nil,
111116
incentives.MsgAddToGauge: nil,
@@ -121,6 +126,11 @@ var messageTypeIgnorer = map[string]interface{}{
121126
// Unjailing and updating params is not taxable
122127
slashing.MsgUnjail: nil,
123128
slashing.MsgUpdateParams: nil,
129+
130+
// Smart accounts are being explored
131+
smartaccount.MsgAddAuthenticator: nil,
132+
smartaccount.MsgRemoveAuthenticator: nil,
133+
124134
// Creating and editing validator is not taxable
125135
staking.MsgCreateValidator: nil,
126136
staking.MsgEditValidator: nil,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package ibc
2+
3+
const (
4+
InterchainAccountsMsgRegisterInterchainAccount = "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount"
5+
InterchainAccountsMsgSendTX = "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx"
6+
)

osmosis/modules/smartaccount/types.go

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package smartaccount
2+
3+
const (
4+
MsgAddAuthenticator = "/osmosis.smartaccount.v1beta1.MsgAddAuthenticator"
5+
MsgRemoveAuthenticator = "/osmosis.smartaccount.v1beta1.MsgRemoveAuthenticator"
6+
)

0 commit comments

Comments
 (0)