mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
eth/tracers: rm the flatCall's notused CreationMethod
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
25bc07749c
commit
e0d0266ba3
2 changed files with 0 additions and 7 deletions
|
|
@ -79,7 +79,6 @@ type flatCallAction struct {
|
||||||
SelfDestructed *common.Address `json:"address,omitempty"`
|
SelfDestructed *common.Address `json:"address,omitempty"`
|
||||||
Balance *big.Int `json:"balance,omitempty"`
|
Balance *big.Int `json:"balance,omitempty"`
|
||||||
CallType string `json:"callType,omitempty"`
|
CallType string `json:"callType,omitempty"`
|
||||||
CreationMethod string `json:"creationMethod,omitempty"`
|
|
||||||
From *common.Address `json:"from,omitempty"`
|
From *common.Address `json:"from,omitempty"`
|
||||||
Gas *uint64 `json:"gas,omitempty"`
|
Gas *uint64 `json:"gas,omitempty"`
|
||||||
Init *[]byte `json:"init,omitempty"`
|
Init *[]byte `json:"init,omitempty"`
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ func (f flatCallAction) MarshalJSON() ([]byte, error) {
|
||||||
SelfDestructed *common.Address `json:"address,omitempty"`
|
SelfDestructed *common.Address `json:"address,omitempty"`
|
||||||
Balance *hexutil.Big `json:"balance,omitempty"`
|
Balance *hexutil.Big `json:"balance,omitempty"`
|
||||||
CallType string `json:"callType,omitempty"`
|
CallType string `json:"callType,omitempty"`
|
||||||
CreationMethod string `json:"creationMethod,omitempty"`
|
|
||||||
From *common.Address `json:"from,omitempty"`
|
From *common.Address `json:"from,omitempty"`
|
||||||
Gas *hexutil.Uint64 `json:"gas,omitempty"`
|
Gas *hexutil.Uint64 `json:"gas,omitempty"`
|
||||||
Init *hexutil.Bytes `json:"init,omitempty"`
|
Init *hexutil.Bytes `json:"init,omitempty"`
|
||||||
|
|
@ -35,7 +34,6 @@ func (f flatCallAction) MarshalJSON() ([]byte, error) {
|
||||||
enc.SelfDestructed = f.SelfDestructed
|
enc.SelfDestructed = f.SelfDestructed
|
||||||
enc.Balance = (*hexutil.Big)(f.Balance)
|
enc.Balance = (*hexutil.Big)(f.Balance)
|
||||||
enc.CallType = f.CallType
|
enc.CallType = f.CallType
|
||||||
enc.CreationMethod = f.CreationMethod
|
|
||||||
enc.From = f.From
|
enc.From = f.From
|
||||||
enc.Gas = (*hexutil.Uint64)(f.Gas)
|
enc.Gas = (*hexutil.Uint64)(f.Gas)
|
||||||
enc.Init = (*hexutil.Bytes)(f.Init)
|
enc.Init = (*hexutil.Bytes)(f.Init)
|
||||||
|
|
@ -54,7 +52,6 @@ func (f *flatCallAction) UnmarshalJSON(input []byte) error {
|
||||||
SelfDestructed *common.Address `json:"address,omitempty"`
|
SelfDestructed *common.Address `json:"address,omitempty"`
|
||||||
Balance *hexutil.Big `json:"balance,omitempty"`
|
Balance *hexutil.Big `json:"balance,omitempty"`
|
||||||
CallType *string `json:"callType,omitempty"`
|
CallType *string `json:"callType,omitempty"`
|
||||||
CreationMethod *string `json:"creationMethod,omitempty"`
|
|
||||||
From *common.Address `json:"from,omitempty"`
|
From *common.Address `json:"from,omitempty"`
|
||||||
Gas *hexutil.Uint64 `json:"gas,omitempty"`
|
Gas *hexutil.Uint64 `json:"gas,omitempty"`
|
||||||
Init *hexutil.Bytes `json:"init,omitempty"`
|
Init *hexutil.Bytes `json:"init,omitempty"`
|
||||||
|
|
@ -82,9 +79,6 @@ func (f *flatCallAction) UnmarshalJSON(input []byte) error {
|
||||||
if dec.CallType != nil {
|
if dec.CallType != nil {
|
||||||
f.CallType = *dec.CallType
|
f.CallType = *dec.CallType
|
||||||
}
|
}
|
||||||
if dec.CreationMethod != nil {
|
|
||||||
f.CreationMethod = *dec.CreationMethod
|
|
||||||
}
|
|
||||||
if dec.From != nil {
|
if dec.From != nil {
|
||||||
f.From = dec.From
|
f.From = dec.From
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue