From c30dfac45c9325ec2a405af802c29e9fb7d8dfaa Mon Sep 17 00:00:00 2001 From: Can Dost Yavuz <82905251+candostyavuz@users.noreply.github.com> Date: Thu, 13 Apr 2023 15:51:21 +0300 Subject: [PATCH 1/4] specs are fixed --- cookbook/specs/spec_add_cosmossdk.json | 58 ++++++------ cookbook/specs/spec_add_ethereum.json | 106 ++++++++++----------- cookbook/specs/spec_add_fantom.json | 90 +++++++++--------- cookbook/specs/spec_add_optimism.json | 20 ++-- cookbook/specs/spec_add_polygon.json | 20 ++-- cookbook/specs/spec_add_solana.json | 124 ++++++++++++------------- cookbook/specs/spec_add_starknet.json | 40 ++++---- cookbook/specs/spec_add_sui.json | 110 +++++++++++----------- 8 files changed, 284 insertions(+), 284 deletions(-) diff --git a/cookbook/specs/spec_add_cosmossdk.json b/cookbook/specs/spec_add_cosmossdk.json index 758e83f1bf..a3cd4d91f5 100644 --- a/cookbook/specs/spec_add_cosmossdk.json +++ b/cookbook/specs/spec_add_cosmossdk.json @@ -4751,7 +4751,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4775,7 +4775,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4802,7 +4802,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4829,7 +4829,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ], @@ -4865,7 +4865,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4892,7 +4892,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4916,7 +4916,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4943,7 +4943,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4967,7 +4967,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -4991,7 +4991,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5016,7 +5016,7 @@ "hanging_api": true }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5041,7 +5041,7 @@ "hanging_api": true }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5065,7 +5065,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5092,7 +5092,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5119,7 +5119,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5143,7 +5143,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5167,7 +5167,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5191,7 +5191,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5215,7 +5215,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5239,7 +5239,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5263,7 +5263,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5287,7 +5287,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ], @@ -5323,7 +5323,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5347,7 +5347,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5371,7 +5371,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5395,7 +5395,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5419,7 +5419,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5443,7 +5443,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] @@ -5470,7 +5470,7 @@ "stateful": 0 }, "interface": "tendermintrpc", - "type": "GET", + "type": "", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_ethereum.json b/cookbook/specs/spec_add_ethereum.json index 5834881115..7b0b7295d8 100644 --- a/cookbook/specs/spec_add_ethereum.json +++ b/cookbook/specs/spec_add_ethereum.json @@ -41,7 +41,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -65,7 +65,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -99,7 +99,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -123,7 +123,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -147,7 +147,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -171,7 +171,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -195,7 +195,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -219,7 +219,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -243,7 +243,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -267,7 +267,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -291,7 +291,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -315,7 +315,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -339,7 +339,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -374,7 +374,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -398,7 +398,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -422,7 +422,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -446,7 +446,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -470,7 +470,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -494,7 +494,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -519,7 +519,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -543,7 +543,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -567,7 +567,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -591,7 +591,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -615,7 +615,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -639,7 +639,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -663,7 +663,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -687,7 +687,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -711,7 +711,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -735,7 +735,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -759,7 +759,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -783,7 +783,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -807,7 +807,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -831,7 +831,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -855,7 +855,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -879,7 +879,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -903,7 +903,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -928,7 +928,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -952,7 +952,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -976,7 +976,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1000,7 +1000,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1024,7 +1024,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1048,7 +1048,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1072,7 +1072,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1096,7 +1096,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1120,7 +1120,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1144,7 +1144,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1168,7 +1168,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1192,7 +1192,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1216,7 +1216,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1240,7 +1240,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1264,7 +1264,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1288,7 +1288,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1312,7 +1312,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_fantom.json b/cookbook/specs/spec_add_fantom.json index 8d87c964c5..3dfc098b25 100644 --- a/cookbook/specs/spec_add_fantom.json +++ b/cookbook/specs/spec_add_fantom.json @@ -44,7 +44,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -68,7 +68,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -102,7 +102,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -126,7 +126,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -150,7 +150,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -174,7 +174,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -198,7 +198,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -233,7 +233,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -257,7 +257,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -281,7 +281,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -305,7 +305,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -341,7 +341,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -365,7 +365,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -389,7 +389,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -413,7 +413,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -437,7 +437,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -461,7 +461,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -485,7 +485,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -509,7 +509,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -533,7 +533,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -557,7 +557,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -581,7 +581,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -605,7 +605,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -629,7 +629,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -653,7 +653,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -677,7 +677,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -711,7 +711,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -735,7 +735,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -759,7 +759,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -783,7 +783,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -807,7 +807,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -831,7 +831,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -855,7 +855,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -879,7 +879,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -903,7 +903,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -938,7 +938,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -962,7 +962,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -986,7 +986,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1010,7 +1010,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1034,7 +1034,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1058,7 +1058,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1082,7 +1082,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1107,7 +1107,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1131,7 +1131,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1155,7 +1155,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_optimism.json b/cookbook/specs/spec_add_optimism.json index c9da199fa2..95826dcdeb 100644 --- a/cookbook/specs/spec_add_optimism.json +++ b/cookbook/specs/spec_add_optimism.json @@ -43,8 +43,8 @@ "subscription": false, "stateful": 0 }, - "interface": "jsonrpc", - "type": "GET", + "interface": "jsonrpc", + "type": "POST", "extra_compute_units": "0" } ] @@ -67,8 +67,8 @@ "subscription": false, "stateful": 0 }, - "interface": "jsonrpc", - "type": "GET", + "interface": "jsonrpc", + "type": "POST", "extra_compute_units": "0" } ] @@ -91,8 +91,8 @@ "subscription": false, "stateful": 0 }, - "interface": "jsonrpc", - "type": "GET", + "interface": "jsonrpc", + "type": "POST", "extra_compute_units": "0" } ] @@ -115,8 +115,8 @@ "subscription": false, "stateful": 0 }, - "interface": "jsonrpc", - "type": "GET", + "interface": "jsonrpc", + "type": "POST", "extra_compute_units": "0" } ] @@ -139,8 +139,8 @@ "subscription": false, "stateful": 0 }, - "interface": "jsonrpc", - "type": "GET", + "interface": "jsonrpc", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_polygon.json b/cookbook/specs/spec_add_polygon.json index 795195dc88..cbc564ef9e 100644 --- a/cookbook/specs/spec_add_polygon.json +++ b/cookbook/specs/spec_add_polygon.json @@ -44,7 +44,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -68,7 +68,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -92,7 +92,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -116,7 +116,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -140,7 +140,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -164,7 +164,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -188,7 +188,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -212,7 +212,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -236,7 +236,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -260,7 +260,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_solana.json b/cookbook/specs/spec_add_solana.json index 098ded3a13..c5114e9e06 100644 --- a/cookbook/specs/spec_add_solana.json +++ b/cookbook/specs/spec_add_solana.json @@ -41,7 +41,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -65,7 +65,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -89,7 +89,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -124,7 +124,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -158,7 +158,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -182,7 +182,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -206,7 +206,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -230,7 +230,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -254,7 +254,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -278,7 +278,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -302,7 +302,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -326,7 +326,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -350,7 +350,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -374,7 +374,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -398,7 +398,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -422,7 +422,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -446,7 +446,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -470,7 +470,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -494,7 +494,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -518,7 +518,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -542,7 +542,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -566,7 +566,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -590,7 +590,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -614,7 +614,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -638,7 +638,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -662,7 +662,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -686,7 +686,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -710,7 +710,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -734,7 +734,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -758,7 +758,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -782,7 +782,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -806,7 +806,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -830,7 +830,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -854,7 +854,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -878,7 +878,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -902,7 +902,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -926,7 +926,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -950,7 +950,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -974,7 +974,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -998,7 +998,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1022,7 +1022,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1046,7 +1046,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1070,7 +1070,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1094,7 +1094,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1118,7 +1118,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1142,7 +1142,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1166,7 +1166,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1190,7 +1190,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1214,7 +1214,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1238,7 +1238,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1262,7 +1262,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1286,7 +1286,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1310,7 +1310,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1334,7 +1334,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1358,7 +1358,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1382,7 +1382,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1406,7 +1406,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1430,7 +1430,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1454,7 +1454,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1478,7 +1478,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1502,7 +1502,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1526,7 +1526,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_starknet.json b/cookbook/specs/spec_add_starknet.json index 5d27f5eb3e..1de6adb4bc 100644 --- a/cookbook/specs/spec_add_starknet.json +++ b/cookbook/specs/spec_add_starknet.json @@ -41,7 +41,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -75,7 +75,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -99,7 +99,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -123,7 +123,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -147,7 +147,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -171,7 +171,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -208,7 +208,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -234,7 +234,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -258,7 +258,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -282,7 +282,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -306,7 +306,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -330,7 +330,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -354,7 +354,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -378,7 +378,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -402,7 +402,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -426,7 +426,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -450,7 +450,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -474,7 +474,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -498,7 +498,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -522,7 +522,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/specs/spec_add_sui.json b/cookbook/specs/spec_add_sui.json index c290579a9b..9d0507cd49 100644 --- a/cookbook/specs/spec_add_sui.json +++ b/cookbook/specs/spec_add_sui.json @@ -41,7 +41,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -65,7 +65,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -89,7 +89,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -113,7 +113,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -137,7 +137,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -161,7 +161,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -185,7 +185,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -209,7 +209,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -233,7 +233,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -257,7 +257,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -281,7 +281,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -316,7 +316,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -340,7 +340,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -364,7 +364,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -388,7 +388,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -412,7 +412,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -436,7 +436,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -460,7 +460,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -484,7 +484,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -508,7 +508,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ], @@ -542,7 +542,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -566,7 +566,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -590,7 +590,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -614,7 +614,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -638,7 +638,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -662,7 +662,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -686,7 +686,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -710,7 +710,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -734,7 +734,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -758,7 +758,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -782,7 +782,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -806,7 +806,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -830,7 +830,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -854,7 +854,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -878,7 +878,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -902,7 +902,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -926,7 +926,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -950,7 +950,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -974,7 +974,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -998,7 +998,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1022,7 +1022,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1046,7 +1046,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1070,7 +1070,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1094,7 +1094,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1118,7 +1118,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1142,7 +1142,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1166,7 +1166,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1190,7 +1190,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1214,7 +1214,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1238,7 +1238,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1262,7 +1262,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1286,7 +1286,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1310,7 +1310,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1334,7 +1334,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -1358,7 +1358,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] From 22dfc6b94c8dd90ac310c0e0de07c6b9c52af790 Mon Sep 17 00:00:00 2001 From: Can Dost Yavuz <82905251+candostyavuz@users.noreply.github.com> Date: Thu, 13 Apr 2023 16:23:33 +0300 Subject: [PATCH 2/4] chainlib interfaces type fix --- protocol/chainlib/common.go | 4 ++++ protocol/chainlib/grpc.go | 2 ++ protocol/chainlib/jsonRPC.go | 6 ++++-- protocol/chainlib/rest.go | 2 ++ protocol/chainlib/tendermintRPC.go | 8 +++++--- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/protocol/chainlib/common.go b/protocol/chainlib/common.go index e7cb0016ad..06d3cde019 100644 --- a/protocol/chainlib/common.go +++ b/protocol/chainlib/common.go @@ -3,6 +3,7 @@ package chainlib import ( "encoding/json" "fmt" + "log" "net" "net/url" "regexp" @@ -228,6 +229,9 @@ func GetListenerWithRetryGrpc(protocol string, addr string) net.Listener { func GetApiInterfaceFromServiceApi(serviceApi *spectypes.ServiceApi, connectionType string) *spectypes.ApiInterface { var apiInterface *spectypes.ApiInterface = nil for i := range serviceApi.ApiInterfaces { + log.Println("serviceApi.ApiInterfaces[i].Category: ", serviceApi.ApiInterfaces[i].Category) + log.Println("serviceApi.ApiInterfaces[i].Type: ", serviceApi.ApiInterfaces[i].Type) + log.Println("connectionType: ", connectionType) if serviceApi.ApiInterfaces[i].Type == connectionType { apiInterface = &serviceApi.ApiInterfaces[i] break diff --git a/protocol/chainlib/grpc.go b/protocol/chainlib/grpc.go index e31d7979bc..3783482002 100644 --- a/protocol/chainlib/grpc.go +++ b/protocol/chainlib/grpc.go @@ -6,6 +6,7 @@ import ( "errors" "fmt" "io" + "log" "net/http" "strings" "sync" @@ -58,6 +59,7 @@ func (apip *GrpcChainParser) CraftMessage(serviceApi spectypes.ServiceApi, craft // ParseMsg parses message data into chain message object func (apip *GrpcChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { + log.Println("GRPC connectionType: ", connectionType) // Guard that the GrpcChainParser instance exists if apip == nil { return nil, errors.New("GrpcChainParser not defined") diff --git a/protocol/chainlib/jsonRPC.go b/protocol/chainlib/jsonRPC.go index 9d4804da6f..8d63e084dc 100644 --- a/protocol/chainlib/jsonRPC.go +++ b/protocol/chainlib/jsonRPC.go @@ -5,6 +5,7 @@ import ( "encoding/json" "errors" "fmt" + "log" "net/http" "strconv" "sync" @@ -54,6 +55,7 @@ func (apip *JsonRPCChainParser) CraftMessage(serviceApi spectypes.ServiceApi, cr // this func parses message data into chain message object func (apip *JsonRPCChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { + log.Println("JSONRPC connectionType: ", connectionType) // Guard that the JsonRPCChainParser instance exists if apip == nil { return nil, errors.New("JsonRPCChainParser not defined") @@ -238,7 +240,7 @@ func (apil *JsonRPCChainListener) Serve(ctx context.Context) { defer cancel() // incase there's a problem make sure to cancel the connection utils.LavaFormatInfo("ws in <<<", utils.Attribute{Key: "seed", Value: msgSeed}, utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "msg", Value: msg}, utils.Attribute{Key: "dappID", Value: dappID}) metricsData := metrics.NewRelayAnalytics(dappID, chainID, apiInterface) - reply, replyServer, err := apil.relaySender.SendRelay(ctx, "", string(msg), http.MethodGet, dappID, metricsData) + reply, replyServer, err := apil.relaySender.SendRelay(ctx, "", string(msg), http.MethodPost, dappID, metricsData) go apil.logger.AddMetricForWebSocket(metricsData, err, websockConn) if err != nil { @@ -301,7 +303,7 @@ func (apil *JsonRPCChainListener) Serve(ctx context.Context) { if test_mode { apil.logger.LogTestMode(fiberCtx) } - reply, _, err := apil.relaySender.SendRelay(ctx, "", string(fiberCtx.Body()), http.MethodGet, dappID, metricsData) + reply, _, err := apil.relaySender.SendRelay(ctx, "", string(fiberCtx.Body()), http.MethodPost, dappID, metricsData) go apil.logger.AddMetricForHttp(metricsData, err, fiberCtx.GetReqHeaders()) if err != nil { // Get unique GUID response diff --git a/protocol/chainlib/rest.go b/protocol/chainlib/rest.go index acf51a83a8..d11ce2da75 100644 --- a/protocol/chainlib/rest.go +++ b/protocol/chainlib/rest.go @@ -6,6 +6,7 @@ import ( "errors" "fmt" "io" + "log" "net/http" "strings" "sync" @@ -52,6 +53,7 @@ func (apip *RestChainParser) CraftMessage(serviceApi spectypes.ServiceApi, craft // ParseMsg parses message data into chain message object func (apip *RestChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { + log.Println("REST connectionType: ", connectionType) // Guard that the RestChainParser instance exists if apip == nil { return nil, errors.New("RestChainParser not defined") diff --git a/protocol/chainlib/tendermintRPC.go b/protocol/chainlib/tendermintRPC.go index f1d06e2cdb..d6c71ad608 100644 --- a/protocol/chainlib/tendermintRPC.go +++ b/protocol/chainlib/tendermintRPC.go @@ -6,6 +6,7 @@ import ( "errors" "fmt" "io" + "log" "net/http" "strings" "sync" @@ -55,6 +56,7 @@ func (apip *TendermintChainParser) CraftMessage(serviceApi spectypes.ServiceApi, // ParseMsg parses message data into chain message object func (apip *TendermintChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { + log.Println("Tendermint connectionType: ", connectionType) // Guard that the TendermintChainParser instance exists if apip == nil { return nil, errors.New("TendermintChainParser not defined") @@ -289,7 +291,7 @@ func (apil *TendermintRpcChainListener) Serve(ctx context.Context) { utils.LavaFormatInfo("ws in <<<", utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "seed", Value: msgSeed}, utils.Attribute{Key: "msg", Value: msg}, utils.Attribute{Key: "dappID", Value: dappID}) metricsData := metrics.NewRelayAnalytics(dappID, chainID, apiInterface) - reply, replyServer, err := apil.relaySender.SendRelay(ctx, "", string(msg), http.MethodGet, dappID, metricsData) + reply, replyServer, err := apil.relaySender.SendRelay(ctx, "", string(msg), "", dappID, metricsData) go apil.logger.AddMetricForWebSocket(metricsData, err, c) if err != nil { apil.logger.AnalyzeWebSocketErrorAndWriteMessage(c, mt, err, msgSeed, msg, "tendermint") @@ -348,7 +350,7 @@ func (apil *TendermintRpcChainListener) Serve(ctx context.Context) { defer cancel() // incase there's a problem make sure to cancel the connection utils.LavaFormatInfo("in <<<", utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "seed", Value: msgSeed}, utils.Attribute{Key: "msg", Value: c.Body()}, utils.Attribute{Key: "dappID", Value: dappID}) - reply, _, err := apil.relaySender.SendRelay(ctx, "", string(c.Body()), http.MethodGet, dappID, metricsData) + reply, _, err := apil.relaySender.SendRelay(ctx, "", string(c.Body()), "", dappID, metricsData) go apil.logger.AddMetricForHttp(metricsData, err, c.GetReqHeaders()) if err != nil { @@ -387,7 +389,7 @@ func (apil *TendermintRpcChainListener) Serve(ctx context.Context) { defer cancel() // incase there's a problem make sure to cancel the connection utils.LavaFormatInfo("urirpc in <<<", utils.Attribute{Key: "GUID", Value: ctx}, utils.Attribute{Key: "seed", Value: msgSeed}, utils.Attribute{Key: "msg", Value: path}, utils.Attribute{Key: "dappID", Value: dappID}) metricsData := metrics.NewRelayAnalytics(dappID, chainID, apiInterface) - reply, _, err := apil.relaySender.SendRelay(ctx, path+query, "", http.MethodGet, dappID, metricsData) + reply, _, err := apil.relaySender.SendRelay(ctx, path+query, "", "", dappID, metricsData) go apil.logger.AddMetricForHttp(metricsData, err, c.GetReqHeaders()) if err != nil { From 4695f1aa18ce68f7e869f80199dd821f5e792659 Mon Sep 17 00:00:00 2001 From: Can Dost Yavuz <82905251+candostyavuz@users.noreply.github.com> Date: Thu, 13 Apr 2023 17:45:09 +0300 Subject: [PATCH 3/4] debug logs removed --- protocol/chainlib/common.go | 4 ---- protocol/chainlib/grpc.go | 2 -- protocol/chainlib/jsonRPC.go | 2 -- protocol/chainlib/rest.go | 2 -- protocol/chainlib/tendermintRPC.go | 2 -- 5 files changed, 12 deletions(-) diff --git a/protocol/chainlib/common.go b/protocol/chainlib/common.go index 06d3cde019..e7cb0016ad 100644 --- a/protocol/chainlib/common.go +++ b/protocol/chainlib/common.go @@ -3,7 +3,6 @@ package chainlib import ( "encoding/json" "fmt" - "log" "net" "net/url" "regexp" @@ -229,9 +228,6 @@ func GetListenerWithRetryGrpc(protocol string, addr string) net.Listener { func GetApiInterfaceFromServiceApi(serviceApi *spectypes.ServiceApi, connectionType string) *spectypes.ApiInterface { var apiInterface *spectypes.ApiInterface = nil for i := range serviceApi.ApiInterfaces { - log.Println("serviceApi.ApiInterfaces[i].Category: ", serviceApi.ApiInterfaces[i].Category) - log.Println("serviceApi.ApiInterfaces[i].Type: ", serviceApi.ApiInterfaces[i].Type) - log.Println("connectionType: ", connectionType) if serviceApi.ApiInterfaces[i].Type == connectionType { apiInterface = &serviceApi.ApiInterfaces[i] break diff --git a/protocol/chainlib/grpc.go b/protocol/chainlib/grpc.go index 3783482002..e31d7979bc 100644 --- a/protocol/chainlib/grpc.go +++ b/protocol/chainlib/grpc.go @@ -6,7 +6,6 @@ import ( "errors" "fmt" "io" - "log" "net/http" "strings" "sync" @@ -59,7 +58,6 @@ func (apip *GrpcChainParser) CraftMessage(serviceApi spectypes.ServiceApi, craft // ParseMsg parses message data into chain message object func (apip *GrpcChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { - log.Println("GRPC connectionType: ", connectionType) // Guard that the GrpcChainParser instance exists if apip == nil { return nil, errors.New("GrpcChainParser not defined") diff --git a/protocol/chainlib/jsonRPC.go b/protocol/chainlib/jsonRPC.go index 8d63e084dc..3df02332a2 100644 --- a/protocol/chainlib/jsonRPC.go +++ b/protocol/chainlib/jsonRPC.go @@ -5,7 +5,6 @@ import ( "encoding/json" "errors" "fmt" - "log" "net/http" "strconv" "sync" @@ -55,7 +54,6 @@ func (apip *JsonRPCChainParser) CraftMessage(serviceApi spectypes.ServiceApi, cr // this func parses message data into chain message object func (apip *JsonRPCChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { - log.Println("JSONRPC connectionType: ", connectionType) // Guard that the JsonRPCChainParser instance exists if apip == nil { return nil, errors.New("JsonRPCChainParser not defined") diff --git a/protocol/chainlib/rest.go b/protocol/chainlib/rest.go index d11ce2da75..acf51a83a8 100644 --- a/protocol/chainlib/rest.go +++ b/protocol/chainlib/rest.go @@ -6,7 +6,6 @@ import ( "errors" "fmt" "io" - "log" "net/http" "strings" "sync" @@ -53,7 +52,6 @@ func (apip *RestChainParser) CraftMessage(serviceApi spectypes.ServiceApi, craft // ParseMsg parses message data into chain message object func (apip *RestChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { - log.Println("REST connectionType: ", connectionType) // Guard that the RestChainParser instance exists if apip == nil { return nil, errors.New("RestChainParser not defined") diff --git a/protocol/chainlib/tendermintRPC.go b/protocol/chainlib/tendermintRPC.go index d6c71ad608..9f4ce9007d 100644 --- a/protocol/chainlib/tendermintRPC.go +++ b/protocol/chainlib/tendermintRPC.go @@ -6,7 +6,6 @@ import ( "errors" "fmt" "io" - "log" "net/http" "strings" "sync" @@ -56,7 +55,6 @@ func (apip *TendermintChainParser) CraftMessage(serviceApi spectypes.ServiceApi, // ParseMsg parses message data into chain message object func (apip *TendermintChainParser) ParseMsg(url string, data []byte, connectionType string) (ChainMessage, error) { - log.Println("Tendermint connectionType: ", connectionType) // Guard that the TendermintChainParser instance exists if apip == nil { return nil, errors.New("TendermintChainParser not defined") From 010b5418aa8d2ac26b566bf4218e28fbd686a545 Mon Sep 17 00:00:00 2001 From: Can Dost Yavuz <82905251+candostyavuz@users.noreply.github.com> Date: Thu, 27 Apr 2023 13:38:04 +0300 Subject: [PATCH 4/4] type fix for readme & optimism_fast_lookup spec --- cookbook/README.md | 10 +++++----- cookbook/backups/spec_add_optimism_fast_lookup.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cookbook/README.md b/cookbook/README.md index 4fcce7e672..8e0253edb4 100644 --- a/cookbook/README.md +++ b/cookbook/README.md @@ -138,7 +138,7 @@ The following example is a spec proposal of Optimism mainnet and testnet. Note t "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -162,7 +162,7 @@ The following example is a spec proposal of Optimism mainnet and testnet. Note t "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -186,7 +186,7 @@ The following example is a spec proposal of Optimism mainnet and testnet. Note t "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -210,7 +210,7 @@ The following example is a spec proposal of Optimism mainnet and testnet. Note t "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -234,7 +234,7 @@ The following example is a spec proposal of Optimism mainnet and testnet. Note t "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] diff --git a/cookbook/backups/spec_add_optimism_fast_lookup.json b/cookbook/backups/spec_add_optimism_fast_lookup.json index 69dbfe514c..a37ece5df7 100644 --- a/cookbook/backups/spec_add_optimism_fast_lookup.json +++ b/cookbook/backups/spec_add_optimism_fast_lookup.json @@ -44,7 +44,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -68,7 +68,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -92,7 +92,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -116,7 +116,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ] @@ -140,7 +140,7 @@ "stateful": 0 }, "interface": "jsonrpc", - "type": "GET", + "type": "POST", "extra_compute_units": "0" } ]