-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove path parameter from gas endpoint + prepare gas limits fo…
…r 0.45.1 (#140) * feat: remove path parameter from gas endpoint * feat: gas limits for 0.45.1
- Loading branch information
1 parent
9ba6ea9
commit a62af3d
Showing
10 changed files
with
49 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,58 @@ | ||
CREATE TABLE gas ( | ||
id SERIAL PRIMARY KEY, | ||
tx_kind TRANSACTION_KIND NOT NULL, | ||
token VARCHAR NOT NULL, | ||
gas_limit INT NOT NULL | ||
); | ||
|
||
ALTER TABLE gas ADD UNIQUE (tx_kind, token); | ||
ALTER TABLE gas ADD UNIQUE (tx_kind); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('transparent_transfer', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('transparent_transfer', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('shielded_transfer', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('shielded_transfer', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('shielding_transfer', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('shielding_transfer', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('unshielding_transfer', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('unshielding_transfer', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('bond', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('bond', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('redelegation', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('redelegation', 250_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('unbond', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('unbond', 150_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('withdraw', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('withdraw', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('claim_rewards', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('claim_rewards', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('vote_proposal', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('vote_proposal', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('init_proposal', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('init_proposal', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('change_metadata', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('change_metadata', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('change_commission', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('change_commission', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('reveal_pk', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('reveal_pk', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('become_validator', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('become_validator', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('ibc_msg_transfer', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('ibc_msg_transfer', 50_000); | ||
|
||
INSERT INTO gas (tx_kind, token, gas_limit) | ||
VALUES ('unknown', 'native', 250_000); | ||
INSERT INTO gas (tx_kind, gas_limit) | ||
VALUES ('unknown', 50_000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"npmName": "@namada/indexer-client", | ||
"npmVersion": "0.0.28" | ||
"npmVersion": "0.0.29" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters