Skip to content

Commit

Permalink
Merge pull request #57 from multiversx/force-epoch-change-endpoint-fixes
Browse files Browse the repository at this point in the history
Force epoch change endpoint fixes
  • Loading branch information
miiu96 authored Jul 11, 2024
2 parents 8431cb0 + ac45f9a commit f4adab0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions cmd/chainsimulator/config/nodeOverrideDefault.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# System overrides, DO NOT EDIT THIS FILE
OverridableConfigTomlValues = [
{ File = "enableEpochs.toml", Path = "EnableEpochs.StakeLimitsEnableEpoch", Value = "1000000" }, # disable stake limits
{ File = "systemSmartContractsConfig.toml", Path = "ESDTSystemSCConfig.BaseIssuingCost", Value = "50000000000000000" }, # (0.05 EGLD)
]
2 changes: 1 addition & 1 deletion examples/esdt/issue-fungible.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def main():
)

# set issue cost and nonce
tx.amount = 5000000000000000000
tx.amount = 50000000000000000 #0.05 EGLD
tx.nonce = provider.get_account(address).nonce

# sign transaction
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
require (
github.com/gin-gonic/gin v1.9.1
github.com/multiversx/mx-chain-core-go v1.2.20
github.com/multiversx/mx-chain-go v1.7.13-0.20240607113340-5941378b2d8f
github.com/multiversx/mx-chain-go v1.7.14-0.20240628141005-afa6d78f5601
github.com/multiversx/mx-chain-logger-go v1.0.14
github.com/multiversx/mx-chain-proxy-go v1.1.48
github.com/pelletier/go-toml v1.9.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ github.com/multiversx/mx-chain-crypto-go v1.2.11 h1:MNPJoiTJA5/tedYrI0N22OorbsKD
github.com/multiversx/mx-chain-crypto-go v1.2.11/go.mod h1:pcZutPdfLiAFytzCU3LxU3s8cXkvpNqquyitFSfoF3o=
github.com/multiversx/mx-chain-es-indexer-go v1.4.21 h1:rzxXCkgOsqj67GRYtqzKuf9XgHwnZLTZhU90Ck3VbrE=
github.com/multiversx/mx-chain-es-indexer-go v1.4.21/go.mod h1:V9xxOBkfV7GjN4K5SODaOetoGVpQm4snibMVPCjL0Kk=
github.com/multiversx/mx-chain-go v1.7.13-0.20240607113340-5941378b2d8f h1:g6yjNBIeAEZxutENETbzqgVf+GrDAppz5KXekjk/XPM=
github.com/multiversx/mx-chain-go v1.7.13-0.20240607113340-5941378b2d8f/go.mod h1:HwklJGQfMpv/yyF4oLpxjwdKCawspv1JjdgezlWBpRQ=
github.com/multiversx/mx-chain-go v1.7.14-0.20240628141005-afa6d78f5601 h1:IEQH9ST6hzaSPKJ0739RDbwMNncHxhMZpetZvXKYmcY=
github.com/multiversx/mx-chain-go v1.7.14-0.20240628141005-afa6d78f5601/go.mod h1:HwklJGQfMpv/yyF4oLpxjwdKCawspv1JjdgezlWBpRQ=
github.com/multiversx/mx-chain-logger-go v1.0.14 h1:PRMpAvXE7Nec2d//QNmbYfKVHMomOKmcN4UXurQWX9o=
github.com/multiversx/mx-chain-logger-go v1.0.14/go.mod h1:bDfHSdwqIimn7Gp8w+SH5KlDuGzJ//nlyEANAaTSc3o=
github.com/multiversx/mx-chain-proxy-go v1.1.48 h1:gmunv+2oimIN8ejlVAN7eWP7mt38So1WvsyiR3+94SU=
Expand Down
8 changes: 8 additions & 0 deletions scripts/run-examples/install-python-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

sudo apt update
sudo apt install python3-pip
python3 -m pip install --upgrade pip
cd ../..
pip3 install -r examples/requirements.txt
pip3 install pytest

0 comments on commit f4adab0

Please sign in to comment.