fix(tracers/native): set CreationMethod

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2024-10-14 16:46:05 +08:00
parent 351e01ff58
commit 1a96310526

View file

@ -296,6 +296,7 @@ func newFlatCreate(input *callFrame) *flatCallFrame {
return &flatCallFrame{
Type: strings.ToLower(vm.CREATE.String()),
Action: flatCallAction{
CreationMethod: strings.ToLower(vm.OpCode(input.Type).String()),
From: &input.From,
Gas: &input.Gas,
Value: input.Value,