fix eth api issues with evm constructor changes

This commit is contained in:
vyzo 2022-10-03 22:44:19 +03:00
parent 2cda4547d6
commit 61de2f4a4a
2 changed files with 2 additions and 4 deletions

View File

@ -114,7 +114,6 @@ func (tx *EthTxArgs) ToSignedMessage() (*types.SignedMessage, error) {
constructorParams, err := actors.SerializeParams(&evm.ConstructorParams{
Bytecode: tx.Input,
InputData: []byte{},
})
if err != nil {
return nil, fmt.Errorf("failed to serialize constructor params: %w", err)

View File

@ -469,7 +469,6 @@ func (a *EthModule) applyEvmMsg(ctx context.Context, tx api.EthCall) (*api.Invoc
to = builtintypes.InitActorAddr
constructorParams, err := actors.SerializeParams(&evm.ConstructorParams{
Bytecode: tx.Data,
InputData: []byte{},
})
if err != nil {
return nil, fmt.Errorf("failed to serialize constructor params: %w", err)