Skip to content

Commit 80132f0

Browse files
committed
EOS: Promote out of Experimental mode
1 parent 79ef2fe commit 80132f0

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

tests/test_msg_eos_signtx.py

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ def action_unknown(self, account, name, data):
372372

373373
def test_action_surplus(self):
374374
self.setup_mnemonic_nopin_nopassphrase()
375-
self.client.apply_policy('Experimental', 1)
376375

377376
try:
378377
self.client.eos_sign_tx_raw(
@@ -389,7 +388,6 @@ def test_action_surplus(self):
389388

390389
def test_action_deficit(self):
391390
self.setup_mnemonic_nopin_nopassphrase()
392-
self.client.apply_policy('Experimental', 1)
393391

394392
try:
395393
self.client.eos_sign_tx_raw(
@@ -406,7 +404,6 @@ def test_action_deficit(self):
406404

407405
def test_wrong_account(self):
408406
self.setup_mnemonic_nopin_nopassphrase()
409-
self.client.apply_policy('Experimental', 1)
410407

411408
try:
412409
self.client.eos_sign_tx_raw(
@@ -432,7 +429,6 @@ def test_wrong_account(self):
432429

433430
def test_transfer(self):
434431
self.setup_mnemonic_nopin_nopassphrase()
435-
self.client.apply_policy('Experimental', 1)
436432

437433
res = self.client.eos_sign_tx_raw(
438434
proto.EosSignTx(
@@ -446,7 +442,6 @@ def test_transfer(self):
446442

447443
def test_delegatebw(self):
448444
self.setup_mnemonic_nopin_nopassphrase()
449-
self.client.apply_policy('Experimental', 1)
450445

451446
res = self.client.eos_sign_tx_raw(
452447
proto.EosSignTx(
@@ -461,7 +456,6 @@ def test_delegatebw(self):
461456

462457
def test_undelegatebw(self):
463458
self.setup_mnemonic_nopin_nopassphrase()
464-
self.client.apply_policy('Experimental', 1)
465459

466460
res = self.client.eos_sign_tx_raw(
467461
proto.EosSignTx(
@@ -475,7 +469,6 @@ def test_undelegatebw(self):
475469

476470
def test_refund(self):
477471
self.setup_mnemonic_nopin_nopassphrase()
478-
self.client.apply_policy('Experimental', 1)
479472

480473
res = self.client.eos_sign_tx_raw(
481474
proto.EosSignTx(
@@ -489,7 +482,6 @@ def test_refund(self):
489482

490483
def test_buyram(self):
491484
self.setup_mnemonic_nopin_nopassphrase()
492-
self.client.apply_policy('Experimental', 1)
493485

494486
res = self.client.eos_sign_tx_raw(
495487
proto.EosSignTx(
@@ -503,7 +495,6 @@ def test_buyram(self):
503495

504496
def test_buyrambytes(self):
505497
self.setup_mnemonic_nopin_nopassphrase()
506-
self.client.apply_policy('Experimental', 1)
507498

508499
res = self.client.eos_sign_tx_raw(
509500
proto.EosSignTx(
@@ -517,7 +508,6 @@ def test_buyrambytes(self):
517508

518509
def test_sellram(self):
519510
self.setup_mnemonic_nopin_nopassphrase()
520-
self.client.apply_policy('Experimental', 1)
521511

522512
res = self.client.eos_sign_tx_raw(
523513
proto.EosSignTx(
@@ -531,7 +521,6 @@ def test_sellram(self):
531521

532522
def test_voteproducer(self):
533523
self.setup_mnemonic_nopin_nopassphrase()
534-
self.client.apply_policy('Experimental', 1)
535524

536525
res = self.client.eos_sign_tx_raw(
537526
proto.EosSignTx(
@@ -547,7 +536,6 @@ def test_voteproducer(self):
547536

548537
def test_updateauth(self):
549538
self.setup_mnemonic_nopin_nopassphrase()
550-
self.client.apply_policy('Experimental', 1)
551539

552540
self.client.set_buttonwait(5)
553541

@@ -573,7 +561,6 @@ def test_updateauth(self):
573561

574562
def test_deleteauth(self):
575563
self.setup_mnemonic_nopin_nopassphrase()
576-
self.client.apply_policy('Experimental', 1)
577564

578565
res = self.client.eos_sign_tx_raw(
579566
proto.EosSignTx(
@@ -587,7 +574,6 @@ def test_deleteauth(self):
587574

588575
def test_linkauth(self):
589576
self.setup_mnemonic_nopin_nopassphrase()
590-
self.client.apply_policy('Experimental', 1)
591577

592578
res = self.client.eos_sign_tx_raw(
593579
proto.EosSignTx(
@@ -601,7 +587,6 @@ def test_linkauth(self):
601587

602588
def test_unlinkauth(self):
603589
self.setup_mnemonic_nopin_nopassphrase()
604-
self.client.apply_policy('Experimental', 1)
605590

606591
res = self.client.eos_sign_tx_raw(
607592
proto.EosSignTx(
@@ -615,7 +600,6 @@ def test_unlinkauth(self):
615600

616601
def test_newaccount(self):
617602
self.setup_mnemonic_nopin_nopassphrase()
618-
self.client.apply_policy('Experimental', 1)
619603

620604
res = self.client.eos_sign_tx_raw(
621605
proto.EosSignTx(
@@ -629,7 +613,6 @@ def test_newaccount(self):
629613

630614
def test_unknown_noadvanced(self):
631615
self.setup_mnemonic_nopin_nopassphrase()
632-
self.client.apply_policy('Experimental', 1)
633616
self.client.apply_policy('AdvancedMode', 0)
634617

635618
try:
@@ -647,7 +630,6 @@ def test_unknown_noadvanced(self):
647630

648631
def test_unknown_advanced(self):
649632
self.setup_mnemonic_nopin_nopassphrase()
650-
self.client.apply_policy('Experimental', 1)
651633
self.client.apply_policy('AdvancedMode', 1)
652634

653635
vec = [
@@ -673,7 +655,6 @@ def test_unknown_advanced(self):
673655

674656
def test_eos_signtx_transfer_token(self):
675657
self.setup_mnemonic_nopin_nopassphrase()
676-
self.client.apply_policy('Experimental', 1)
677658
data = '''{
678659
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
679660
"transaction": {
@@ -717,7 +698,6 @@ def test_eos_signtx_transfer_token(self):
717698

718699
def test_eos_signtx_buyram(self):
719700
self.setup_mnemonic_nopin_nopassphrase()
720-
self.client.apply_policy('Experimental', 1)
721701
data = '''{
722702
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
723703
"transaction": {
@@ -760,7 +740,6 @@ def test_eos_signtx_buyram(self):
760740

761741
def test_eos_signtx_buyrambytes(self):
762742
self.setup_mnemonic_nopin_nopassphrase()
763-
self.client.apply_policy('Experimental', 1)
764743
data = '''{
765744
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
766745
"transaction": {
@@ -803,7 +782,6 @@ def test_eos_signtx_buyrambytes(self):
803782

804783
def test_eos_signtx_sellram(self):
805784
self.setup_mnemonic_nopin_nopassphrase()
806-
self.client.apply_policy('Experimental', 1)
807785
data = '''{
808786
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
809787
"transaction": {
@@ -845,7 +823,6 @@ def test_eos_signtx_sellram(self):
845823

846824
def test_eos_signtx_delegate(self):
847825
self.setup_mnemonic_nopin_nopassphrase()
848-
self.client.apply_policy('Experimental', 1)
849826
data = '''{
850827
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
851828
"transaction": {
@@ -890,7 +867,6 @@ def test_eos_signtx_delegate(self):
890867

891868
def test_eos_signtx_undelegate(self):
892869
self.setup_mnemonic_nopin_nopassphrase()
893-
self.client.apply_policy('Experimental', 1)
894870
data = '''{
895871
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
896872
"transaction": {
@@ -934,7 +910,6 @@ def test_eos_signtx_undelegate(self):
934910

935911
def test_eos_signtx_refund(self):
936912
self.setup_mnemonic_nopin_nopassphrase()
937-
self.client.apply_policy('Experimental', 1)
938913
data = '''{
939914
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
940915
"transaction": {
@@ -975,7 +950,6 @@ def test_eos_signtx_refund(self):
975950

976951
def test_eos_signtx_linkauth(self):
977952
self.setup_mnemonic_nopin_nopassphrase()
978-
self.client.apply_policy('Experimental', 1)
979953
data = '''{
980954
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
981955
"transaction": {
@@ -1019,7 +993,6 @@ def test_eos_signtx_linkauth(self):
1019993

1020994
def test_eos_signtx_unlinkauth(self):
1021995
self.setup_mnemonic_nopin_nopassphrase()
1022-
self.client.apply_policy('Experimental', 1)
1023996
data = '''{
1024997
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
1025998
"transaction": {
@@ -1062,7 +1035,6 @@ def test_eos_signtx_unlinkauth(self):
10621035

10631036
def test_eos_signtx_updateauth(self):
10641037
self.setup_mnemonic_nopin_nopassphrase()
1065-
self.client.apply_policy('Experimental', 1)
10661038
data = '''{
10671039
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
10681040
"transaction": {
@@ -1133,7 +1105,6 @@ def test_eos_signtx_updateauth(self):
11331105

11341106
def test_eos_signtx_deleteauth(self):
11351107
self.setup_mnemonic_nopin_nopassphrase()
1136-
self.client.apply_policy('Experimental', 1)
11371108
data = '''{
11381109
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
11391110
"transaction": {
@@ -1175,7 +1146,6 @@ def test_eos_signtx_deleteauth(self):
11751146

11761147
def test_eos_signtx_vote(self):
11771148
self.setup_mnemonic_nopin_nopassphrase()
1178-
self.client.apply_policy('Experimental', 1)
11791149
data = '''{
11801150
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
11811151
"transaction": {
@@ -1251,7 +1221,6 @@ def test_eos_signtx_vote(self):
12511221

12521222
def test_eos_signtx_vote_proxy(self):
12531223
self.setup_mnemonic_nopin_nopassphrase()
1254-
self.client.apply_policy('Experimental', 1)
12551224
data = '''{
12561225
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
12571226
"transaction": {
@@ -1294,7 +1263,6 @@ def test_eos_signtx_vote_proxy(self):
12941263

12951264
def test_eos_signtx_unknown(self):
12961265
self.setup_mnemonic_nopin_nopassphrase()
1297-
self.client.apply_policy('Experimental', 1)
12981266
self.client.apply_policy('AdvancedMode', 1)
12991267
data = '''{
13001268
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
@@ -1334,7 +1302,6 @@ def test_eos_signtx_unknown(self):
13341302

13351303
def test_eos_signtx_newaccount(self):
13361304
self.setup_mnemonic_nopin_nopassphrase()
1337-
self.client.apply_policy('Experimental', 1)
13381305
data = '''{
13391306
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
13401307
"transaction": {
@@ -1430,7 +1397,6 @@ def test_eos_signtx_newaccount(self):
14301397

14311398
def test_eos_signtx_setcontract(self):
14321399
self.setup_mnemonic_nopin_nopassphrase()
1433-
self.client.apply_policy('Experimental', 1)
14341400
self.client.apply_policy('AdvancedMode', 1)
14351401
data = '''{
14361402
"chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",

0 commit comments

Comments
 (0)