- 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>
25 lines
513 B
Go
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)
|
|
}
|