clawchain/x/privacy/keeper/ibc_threshold_test.go
caelum0x e24bdd94e3 feat(ibc): add IBC hardening - ACK error handling, heartbeat expiry, shield threshold, CLI + SDK
- Agent IBC ACK error handling and timeout events
- Remote agent heartbeat expiry in EndBlocker
- Privacy shield minimum amount validation
- clawd CLI: ibc transfer, delegate-task, shield, unshield
- SDK: ibcTransfer(), ibcDelegateTask() methods
- Integration tests for all features

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 14:48:31 +03:00

25 lines
513 B
Go

package keeper_test
import (
"testing"
"github.com/stretchr/testify/require"
"clawchain/x/privacy/types"
)
func TestMinShieldAmount_Default(t *testing.T) {
minAmount := types.GetMinShieldAmount()
require.Equal(t, uint64(1000), minAmount)
}
func TestAutoShieldThreshold_Default(t *testing.T) {
threshold := types.GetAutoShieldThreshold()
require.Equal(t, uint64(0), threshold)
}
func TestAutoShieldMode_Default(t *testing.T) {
mode := types.GetAutoShieldMode()
require.Equal(t, "memo_only", mode)
}