@@ -298,7 +298,7 @@ var bindTests = []struct {
298298 key, _ := crypto.GenerateKey()
299299 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
300300
301- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
301+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
302302 defer sim.Close()
303303
304304 // Deploy an interaction tester contract and call a transaction on it
@@ -355,7 +355,7 @@ var bindTests = []struct {
355355 key, _ := crypto.GenerateKey()
356356 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
357357
358- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
358+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
359359 defer sim.Close()
360360
361361 // Deploy a tuple tester contract and execute a structured call on it
@@ -402,7 +402,7 @@ var bindTests = []struct {
402402 key, _ := crypto.GenerateKey()
403403 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
404404
405- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
405+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
406406 defer sim.Close()
407407
408408 // Deploy a tuple tester contract and execute a structured call on it
@@ -461,7 +461,7 @@ var bindTests = []struct {
461461 key, _ := crypto.GenerateKey()
462462 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
463463
464- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
464+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
465465 defer sim.Close()
466466
467467 // Deploy a slice tester contract and execute a n array call on it
@@ -512,7 +512,7 @@ var bindTests = []struct {
512512
513513 config := *params.TestXDPoSMockChainConfig
514514 config.Eip1559Block = big.NewInt(0)
515- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, &config)
515+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, &config)
516516 defer sim.Close()
517517
518518 // Deploy a default method invoker contract and execute its default method
@@ -580,7 +580,7 @@ var bindTests = []struct {
580580 key, _ := crypto.GenerateKey()
581581 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
582582
583- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
583+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
584584 defer sim.Close()
585585
586586 // Deploy a structs method invoker contract and execute its default method
@@ -713,7 +713,7 @@ var bindTests = []struct {
713713 key, _ := crypto.GenerateKey()
714714 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
715715
716- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
716+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
717717 defer sim.Close()
718718
719719 // Deploy a funky gas pattern contract
@@ -765,7 +765,7 @@ var bindTests = []struct {
765765 key, _ := crypto.GenerateKey()
766766 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
767767
768- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
768+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
769769 defer sim.Close()
770770
771771 // Deploy a sender tester contract and execute a structured call on it
@@ -841,7 +841,7 @@ var bindTests = []struct {
841841 // Generate a new random account and a funded simulator
842842 key, _ := crypto.GenerateKey()
843843 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
844- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
844+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
845845 defer sim.Close()
846846
847847 // Deploy a underscorer tester contract and execute a structured call on it
@@ -936,7 +936,7 @@ var bindTests = []struct {
936936 key, _ := crypto.GenerateKey()
937937 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
938938
939- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
939+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
940940 defer sim.Close()
941941
942942 // Deploy an eventer contract
@@ -1128,7 +1128,7 @@ var bindTests = []struct {
11281128 key, _ := crypto.GenerateKey()
11291129 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
11301130
1131- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1131+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
11321132 defer sim.Close()
11331133
11341134 //deploy the test contract
@@ -1266,7 +1266,7 @@ var bindTests = []struct {
12661266 key, _ := crypto.GenerateKey()
12671267 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
12681268
1269- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1269+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
12701270 defer sim.Close()
12711271
12721272 _, _, contract, err := DeployTuple(auth, sim)
@@ -1406,7 +1406,7 @@ var bindTests = []struct {
14061406 key, _ := crypto.GenerateKey()
14071407 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
14081408
1409- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1409+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
14101410 defer sim.Close()
14111411
14121412 // deploy the test contract
@@ -1497,7 +1497,7 @@ var bindTests = []struct {
14971497 addr := crypto.PubkeyToAddress(key.PublicKey)
14981498
14991499 // Deploy registrar contract
1500- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{addr: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1500+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{addr: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
15011501 defer sim.Close()
15021502
15031503 transactOpts, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
@@ -1560,7 +1560,7 @@ var bindTests = []struct {
15601560 addr := crypto.PubkeyToAddress(key.PublicKey)
15611561
15621562 // Deploy registrar contract
1563- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{addr: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1563+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{addr: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
15641564 defer sim.Close()
15651565
15661566 transactOpts, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
@@ -1623,7 +1623,7 @@ var bindTests = []struct {
16231623 key, _ := crypto.GenerateKey()
16241624 auth, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
16251625
1626- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1626+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{auth.From: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
16271627 defer sim.Close()
16281628
16291629 // Deploy a tester contract and execute a structured call on it
@@ -1684,7 +1684,7 @@ var bindTests = []struct {
16841684 key, _ := crypto.GenerateKey()
16851685 addr := crypto.PubkeyToAddress(key.PublicKey)
16861686
1687- sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{addr: {Balance: big.NewInt(10000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
1687+ sim := backends.NewXDCSimulatedBackend(types.GenesisAlloc{addr: {Balance: big.NewInt(1000000000000000000 )}}, 10000000, params.TestXDPoSMockChainConfig)
16881688 defer sim.Close()
16891689
16901690 opts, _ := bind.NewKeyedTransactorWithChainID(key, big.NewInt(1337))
0 commit comments