Skip to content

Commit 7f0959c

Browse files
authored
Merge branch 'rc/supernova' into pprof-and-shutdown
2 parents f66e0e5 + 6d12db1 commit 7f0959c

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

cmd/chainsimulator/main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@ func startChainSimulator(ctx *cli.Context) error {
233233

234234
log.Info("simulators were initialized")
235235

236+
for shardID := uint32(0); shardID < uint32(cfg.Config.Simulator.NumOfShards); shardID++ {
237+
err = simulator.GetNodeHandler(shardID).SetKeyValueForAddress(core.SystemAccountAddress, make(map[string]string))
238+
if err != nil {
239+
return err
240+
}
241+
}
242+
236243
err = simulator.GenerateBlocks(1)
237244
if err != nil {
238245
return err

examples/staking/staking.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ def main():
138138

139139
# check if the owner receive more than 5 egld in rewards
140140
claim_reward_tx = get_tx_and_verify_status(provider, tx_hash.hex())
141-
one_egld = 1000000000000000000
141+
min_rewards = 400000000000000000
142142
rewards_value = claim_reward_tx.smart_contract_results[0].raw.get("value", 0)
143-
if rewards_value < one_egld:
143+
if rewards_value < min_rewards:
144144
sys.exit(f"owner of the delegation contract didn't receive the expected amount of rewards: expected more than "
145-
f"1 EGLD, received: {rewards_value}")
145+
f"0.4 EGLD, received: {rewards_value}")
146146

147147
print(f"owner has received rewards, received rewards: {rewards_value}")
148148

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792
77
github.com/gin-gonic/gin v1.10.0
88
github.com/multiversx/mx-chain-core-go v1.4.2-0.20251022090220-a99e14e45706
9-
github.com/multiversx/mx-chain-go v1.10.9-0.20251120105359-ffd06b7976b6
9+
github.com/multiversx/mx-chain-go v1.11.2-0.20251215095623-aaca4d73f477
1010
github.com/multiversx/mx-chain-logger-go v1.1.0
1111
github.com/multiversx/mx-chain-proxy-go v1.3.1
1212
github.com/pelletier/go-toml v1.9.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ github.com/multiversx/mx-chain-crypto-go v1.3.0 h1:0eK2bkDOMi8VbSPrB1/vGJSYT81IB
416416
github.com/multiversx/mx-chain-crypto-go v1.3.0/go.mod h1:nPIkxxzyTP8IquWKds+22Q2OJ9W7LtusC7cAosz7ojM=
417417
github.com/multiversx/mx-chain-es-indexer-go v1.9.3-0.20251021150757-bd6aa66a0a90 h1:Hf6AqpCSHccBo5ZV5Bfaxz3UdPYhtYCynU+3CF4jAa8=
418418
github.com/multiversx/mx-chain-es-indexer-go v1.9.3-0.20251021150757-bd6aa66a0a90/go.mod h1:t1rkD2vHXSI4EClig0h7+kRCSUCRrMF+emr4DHxFtfA=
419-
github.com/multiversx/mx-chain-go v1.10.9-0.20251120105359-ffd06b7976b6 h1:4eDTId6VefuZU1PbNiK9MpinqdmVmlxJfnLhur0z3hA=
420-
github.com/multiversx/mx-chain-go v1.10.9-0.20251120105359-ffd06b7976b6/go.mod h1:G2LX81y+A75W5EqJod9p4fRAdnp22vpQrB+374pAveQ=
419+
github.com/multiversx/mx-chain-go v1.11.2-0.20251215095623-aaca4d73f477 h1:0q0KCLjYrG4AXKcNIBQnyMrqBcMbx1xRDG4bgcyVLqc=
420+
github.com/multiversx/mx-chain-go v1.11.2-0.20251215095623-aaca4d73f477/go.mod h1:G2LX81y+A75W5EqJod9p4fRAdnp22vpQrB+374pAveQ=
421421
github.com/multiversx/mx-chain-logger-go v1.1.0 h1:97x84A6L4RfCa6YOx1HpAFxZp1cf/WI0Qh112whgZNM=
422422
github.com/multiversx/mx-chain-logger-go v1.1.0/go.mod h1:K9XgiohLwOsNACETMNL0LItJMREuEvTH6NsoXWXWg7g=
423423
github.com/multiversx/mx-chain-proxy-go v1.3.1 h1:tjbTm3FpR0bjDvWAMK0zwRxRbbjGszSWltng7jv6CIg=

pkg/proxy/configs/configs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func CreateProxyConfigs(args ArgsProxyConfigs) (*ArgsOutputConfig, error) {
5050
return nil, err
5151
}
5252

53+
cfg.GeneralSettings.AllowEntireTxPoolFetch = true
5354
cfg.GeneralSettings.ServerPort = args.ServerPort
5455
cfg.Observers = make([]*data.NodeData, 0, len(args.RestApiInterfaces))
5556
for shardID, nodeAPIInterface := range args.RestApiInterfaces {

0 commit comments

Comments
 (0)