diff --git a/core/evm.go b/core/evm.go index ed5390e6c..9ffede6a3 100644 --- a/core/evm.go +++ b/core/evm.go @@ -252,7 +252,9 @@ func UndelegateFn(ref *block.Header, chain ChainContext) vm.UndelegateFunc { rosettaTracer.AddRosettaLog( vm.CALL, &vm.RosettaLogAddressItem{ - Account: &undelegate.DelegatorAddress, + Account: &undelegate.DelegatorAddress, + SubAccount: &undelegate.ValidatorAddress, + Metadata: map[string]interface{}{"type": "delegation"}, }, &vm.RosettaLogAddressItem{ Account: &undelegate.DelegatorAddress,