Skip to content

Commit

Permalink
[CLI] Upgrade Hasura metadata to 5244b84fa5ed872e5280dc8df032d744d62a…
Browse files Browse the repository at this point in the history
…d29d (#13502)
  • Loading branch information
banool authored May 31, 2024
1 parent e8c5e4b commit dde48c6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 49 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crates/aptos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to the Aptos CLI will be captured in this file. This project

## Unreleased

## [3.4.1] - 2024/05/31
- Upgraded indexer processors for localnet from ca60e51b53c3be6f9517de7c73d4711e9c1f7236 to 5244b84fa5ed872e5280dc8df032d744d62ad29d. Upgraded Hasura metadata accordingly.

## [3.4.0] - 2024/05/30
- Adds a check for safe usage of randomness features. Public functions are not allowed to call randomness features unless explicitly allowed via attribute `#[lint::allow_unsafe_randomness]`.
- The Move syntax now supports structured attribute names, as in `#[attribute_area::attribute_name]`.
Expand Down
6 changes: 3 additions & 3 deletions crates/aptos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "aptos"
description = "Aptos tool for management of nodes and interacting with the blockchain"
version = "3.4.0"
version = "3.4.1"

# Workspace inherited keys
authors = { workspace = true }
Expand Down Expand Up @@ -83,14 +83,14 @@ pathsearch = { workspace = true }
poem = { workspace = true }
# We set default-features to false so we don't onboard the libpq dep. See more here:
# https://github.com/aptos-labs/aptos-core/pull/12568
processor = { git = "https://github.com/aptos-labs/aptos-indexer-processors.git", rev = "ca60e51b53c3be6f9517de7c73d4711e9c1f7236", default-features = false }
processor = { git = "https://github.com/aptos-labs/aptos-indexer-processors.git", rev = "5244b84fa5ed872e5280dc8df032d744d62ad29d", default-features = false }
rand = { workspace = true }
reqwest = { workspace = true }
self_update = { git = "https://github.com/banool/self_update.git", rev = "8306158ad0fd5b9d4766a3c6bf967e7ef0ea5c4b", features = ["archive-zip", "compression-zip-deflate"] }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processors.git", rev = "ca60e51b53c3be6f9517de7c73d4711e9c1f7236" }
server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processors.git", rev = "5244b84fa5ed872e5280dc8df032d744d62ad29d" }
tempfile = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
Expand Down
55 changes: 14 additions & 41 deletions crates/aptos/src/node/local_testnet/hasura_metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"resource_version": 399,
"resource_version": 319,
"metadata": {
"version": 3,
"sources": [
Expand Down Expand Up @@ -136,10 +136,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"account_address",
"transaction_version"
],
"columns": ["account_address", "transaction_version"],
"filter": {},
"limit": 100,
"allow_aggregations": true
Expand Down Expand Up @@ -255,10 +252,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"account_address",
"transaction_version"
],
"columns": ["account_address", "transaction_version"],
"filter": {},
"limit": 100,
"allow_aggregations": true
Expand Down Expand Up @@ -337,10 +331,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"address",
"transaction_version"
],
"columns": ["address", "transaction_version"],
"filter": {},
"limit": 100,
"allow_aggregations": true
Expand Down Expand Up @@ -1586,10 +1577,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"delegator_address",
"pool_address"
],
"columns": ["delegator_address", "pool_address"],
"filter": {},
"limit": 100,
"allow_aggregations": true
Expand Down Expand Up @@ -1706,10 +1694,12 @@
"icon_uri",
"last_transaction_timestamp",
"last_transaction_version",
"maximum_v2",
"name",
"project_uri",
"supply_aggregator_table_handle_v1",
"supply_aggregator_table_key_v1",
"supply_v2",
"symbol",
"token_standard"
],
Expand All @@ -1728,10 +1718,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"db",
"is_indexer_up"
],
"columns": ["db", "is_indexer_up"],
"filter": {},
"limit": 100
}
Expand All @@ -1747,9 +1734,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"chain_id"
],
"columns": ["chain_id"],
"filter": {}
}
}
Expand All @@ -1764,10 +1749,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"address",
"transaction_version"
],
"columns": ["address", "transaction_version"],
"filter": {},
"limit": 100,
"allow_aggregations": true
Expand All @@ -1784,10 +1766,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"num_active_delegator",
"pool_address"
],
"columns": ["num_active_delegator", "pool_address"],
"filter": {},
"limit": 100
}
Expand Down Expand Up @@ -1901,11 +1880,7 @@
{
"role": "anonymous",
"permission": {
"columns": [
"handle",
"key_type",
"value_type"
],
"columns": ["handle", "key_type", "value_type"],
"filter": {},
"limit": 100
}
Expand Down Expand Up @@ -2242,9 +2217,7 @@
"query_name": "Latest Processor Status"
}
},
"methods": [
"GET"
],
"methods": ["GET"],
"name": "Latest Processor Status",
"url": "get_latest_processor_status"
}
Expand All @@ -2265,4 +2238,4 @@
"analyze_response_body": true
}
}
}
}

0 comments on commit dde48c6

Please sign in to comment.