Skip to content

Commit

Permalink
#411 Added the argument "--token_mint" to emulate command (#404)
Browse files Browse the repository at this point in the history
* impl

* fix emulate call

* set temporary evm_loader branch

* fix last commit

* temporary commit: set evm_loader version

* fix emulate

* Revert "temporary commit: set evm_loader version"

This reverts commit 2383212.

* Revert "fix last commit"

This reverts commit c51e198.

* Revert "set temporary evm_loader branch"

This reverts commit 5bb8c77.
  • Loading branch information
sinev-valentine authored Dec 24, 2021
1 parent 20718b7 commit eb2f888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/common_neon/emulator_interactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from typing import Optional, Dict, Any
from .errors import EthereumError
from ..environment import neon_cli
from ..environment import neon_cli, ETH_TOKEN_MINT_ID

logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
Expand Down Expand Up @@ -63,4 +63,4 @@ def decode_revert_message(data: str) -> Optional[str]:
def emulator(contract, sender, data, value):
data = data or "none"
value = value or ""
return neon_cli().call("emulate", sender, contract, data, value)
return neon_cli().call("emulate", "--token_mint", str(ETH_TOKEN_MINT_ID), sender, contract, data, value)

0 comments on commit eb2f888

Please sign in to comment.