Skip to content

Commit

Permalink
indexer: fix move call table (#10042)
Browse files Browse the repository at this point in the history
  • Loading branch information
gegaowp authored Mar 28, 2023
1 parent 6008325 commit 92b3211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-indexer/src/store/pg_indexer_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ impl IndexerStore for PgIndexerStore {

fn get_move_call_metrics(&self) -> Result<MoveCallMetrics, IndexerError> {
let metrics = read_only!(&self.cp, |conn| {
diesel::sql_query("SELECT * FROM network_metrics;")
diesel::sql_query("SELECT * FROM epoch_move_call_metrics;")
.get_results::<DBMoveCallMetrics>(conn)
})?;

Expand Down

1 comment on commit 92b3211

@vercel
Copy link

@vercel vercel bot commented on 92b3211 Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sui-wallet-kit – ./sdk/wallet-adapter/site

sui-wallet-kit.vercel.app
sui-wallet-kit-mysten-labs.vercel.app
sui-wallet-kit-git-main-mysten-labs.vercel.app

Please sign in to comment.