Skip to content

Commit

Permalink
remove enums
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Oct 24, 2024
1 parent b9dbd46 commit 7fe53ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Transactions/Builder/EvmCallBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
namespace ArkEcosystem\Crypto\Transactions\Builder;

use ArkEcosystem\Crypto\Configuration\Network;
use ArkEcosystem\Crypto\Enums\TypeGroup;
use ArkEcosystem\Crypto\Enums\Types;
use ArkEcosystem\Crypto\Identities\PrivateKey;
use ArkEcosystem\Crypto\Transactions\Transaction;

Expand All @@ -19,8 +17,9 @@ public function __construct()
$this->transaction = new Transaction();

$this->transaction->data = [
'type' => Types::EVM_CALL->value,
'typeGroup' => TypeGroup::CORE,
// Type and type group are going to be removed, hardcoding for now
'type' => 8, //
'typeGroup' => 1,
'amount' => '0',
'senderPublicKey' => '',
'fee' => '0',
Expand Down

0 comments on commit 7fe53ce

Please sign in to comment.