Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
v0.21.0 (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
ra0x3 authored Sep 29, 2023
1 parent 7eea71f commit ab70a95
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 40 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

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

34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,29 @@ homepage = "https://fuel.network/"
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuel-indexer"
rust-version = "1.72.1"
version = "0.20.11"
version = "0.21.0"

[workspace.dependencies]
async-graphql-parser = "5.0"
async-graphql-value = "5.0"
bincode = "1.3"
clap = "3.1"
forc-index = { version = "0.20.11", path = "./plugins/forc-index" }
forc-postgres = { version = "0.20.11", path = "./plugins/forc-postgres" }
fuel-indexer = { version = "0.20.11", path = "./packages/fuel-indexer" }
fuel-indexer-api-server = { version = "0.20.11", path = "./packages/fuel-indexer-api-server" }
fuel-indexer-database = { version = "0.20.11", path = "./packages/fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.20.11", path = "./packages/fuel-indexer-database/database-types" }
fuel-indexer-graphql = { version = "0.20.11", path = "./packages/fuel-indexer-graphql" }
fuel-indexer-lib = { version = "0.20.11", path = "./packages/fuel-indexer-lib" }
fuel-indexer-macro-utils = { version = "0.20.11", path = "./packages/fuel-indexer-macros/macro-utils" }
fuel-indexer-macros = { version = "0.20.11", path = "./packages/fuel-indexer-macros", default-features = false }
fuel-indexer-metrics = { version = "0.20.11", path = "./packages/fuel-indexer-metrics" }
fuel-indexer-plugin = { version = "0.20.11", path = "./packages/fuel-indexer-plugin", default-features = false }
fuel-indexer-postgres = { version = "0.20.11", path = "./packages/fuel-indexer-database/postgres" }
fuel-indexer-schema = { version = "0.20.11", path = "./packages/fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.20.11", path = "./packages/fuel-indexer-types" }
fuel-indexer-utils = { version = "0.20.11", path = "./packages/fuel-indexer-utils" }
forc-index = { version = "0.21.0", path = "./plugins/forc-index" }
forc-postgres = { version = "0.21.0", path = "./plugins/forc-postgres" }
fuel-indexer = { version = "0.21.0", path = "./packages/fuel-indexer" }
fuel-indexer-api-server = { version = "0.21.0", path = "./packages/fuel-indexer-api-server" }
fuel-indexer-database = { version = "0.21.0", path = "./packages/fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.21.0", path = "./packages/fuel-indexer-database/database-types" }
fuel-indexer-graphql = { version = "0.21.0", path = "./packages/fuel-indexer-graphql" }
fuel-indexer-lib = { version = "0.21.0", path = "./packages/fuel-indexer-lib" }
fuel-indexer-macro-utils = { version = "0.21.0", path = "./packages/fuel-indexer-macros/macro-utils" }
fuel-indexer-macros = { version = "0.21.0", path = "./packages/fuel-indexer-macros", default-features = false }
fuel-indexer-metrics = { version = "0.21.0", path = "./packages/fuel-indexer-metrics" }
fuel-indexer-plugin = { version = "0.21.0", path = "./packages/fuel-indexer-plugin", default-features = false }
fuel-indexer-postgres = { version = "0.21.0", path = "./packages/fuel-indexer-database/postgres" }
fuel-indexer-schema = { version = "0.21.0", path = "./packages/fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.21.0", path = "./packages/fuel-indexer-types" }
fuel-indexer-utils = { version = "0.21.0", path = "./packages/fuel-indexer-utils" }
fuel-tx = { version = "=0.35.3", default-features = false }
fuel-types = { version = "=0.35.3", default-features = false, features = ["serde"] }
fuel-vm = { version = "=0.35.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer-schema/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl FtColumn {
},
FtColumn::Bytes(value) => match value {
Some(blob) => {
let x = hex::encode(blob.as_ref());
let x = hex::encode(blob);
format!("'{x}'")
}
None => String::from(NULL_VALUE),
Expand Down
1 change: 0 additions & 1 deletion packages/fuel-indexer-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![deny(unused_crate_dependencies)]
pub mod ffi;
pub mod fuel;
pub mod graphql;
Expand Down
3 changes: 1 addition & 2 deletions packages/fuel-indexer-types/src/scalar.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use bytes::Bytes as _Bytes;
pub use fuel_types::{
Address, AssetId, BlockHeight, Bytes32, Bytes4, Bytes64, Bytes8, ContractId,
MessageId, Nonce, Salt, Word,
Expand Down Expand Up @@ -43,7 +42,7 @@ pub type I8 = i8;
pub type U8 = u8;

/// Scalar for arbitrarily-sized byte payloads.
pub type Bytes = _Bytes;
pub type Bytes = Vec<u8>;

/// JSON type used to store arbitrary object payloads.
#[derive(Deserialize, Serialize, Clone, Eq, PartialEq, Debug, Hash)]
Expand Down
6 changes: 3 additions & 3 deletions plugins/forc-index/src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ path = "src/main.rs"
[dependencies]
async-trait = {{ version = "0.1" }}
fuel-indexer = {{ version = "0.20", default-features = false }}
fuel-indexer-utils = {{ version = "0.20", features = ["native-execution"] }}
fuel-indexer = {{ version = "0.21", default-features = false }}
fuel-indexer-utils = {{ version = "0.21", features = ["native-execution"] }}
fuels = {{ version = "0.46", default-features = false, features = ["std"] }}
getrandom = {{ version = "0.2", features = ["js"] }}
serde = {{ version = "1.0", default-features = false, features = ["derive"] }}
Expand All @@ -54,7 +54,7 @@ rust-version = "1.72.1"
crate-type = ['cdylib']
[dependencies]
fuel-indexer-utils = {{ version = "0.20" }}
fuel-indexer-utils = {{ version = "0.21" }}
fuels = {{ version = "0.46", default-features = false }}
getrandom = {{ version = "0.2", features = ["js"] }}
serde = {{ version = "1.0", default-features = false, features = ["derive"] }}
Expand Down

0 comments on commit ab70a95

Please sign in to comment.