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

Commit

Permalink
v0.4.0 (#613)
Browse files Browse the repository at this point in the history
* docs: de-emphasize docker in docs (#610)

* docs: de-emphasize docker in docs

* update readme snippet

---------

Co-authored-by: Rashad Alston <[email protected]>

* Bump SDK to v0.37.1 from crates.io

* v0.4.0 (#608)

* v0.4.0

* update plugin defaults

---------

Co-authored-by: Rashad Alston <[email protected]>

---------

Co-authored-by: rashad <[email protected]>
Co-authored-by: Rashad Alston <[email protected]>
  • Loading branch information
3 people authored Feb 23, 2023
1 parent 9536e52 commit fe4d365
Show file tree
Hide file tree
Showing 18 changed files with 142 additions and 133 deletions.
184 changes: 97 additions & 87 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/block-explorer/explorer-index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ fuel-indexer-macros = { version = "0.4", path = "../../../packages/fuel-indexer-
fuel-indexer-plugin = { version = "0.4", path = "../../../packages/fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.4", path = "../../../packages/fuel-indexer-schema", default-features = false }
fuel-tx = "0.26"
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen"}
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-core = { version = "0.37", default-features = false }
fuels-macros = { version = "0.37"}
fuels-types = { version = "0.37", default-features = false }
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
8 changes: 4 additions & 4 deletions examples/hello-world-native/hello-index-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ fuel-indexer-macros = { version = "0.4", path = "../../../packages/fuel-indexer-
fuel-indexer-plugin = { version = "0.4", path = "../../../packages/fuel-indexer-plugin", features = ["native-execution"] }
fuel-indexer-schema = { version = "0.4", path = "../../../packages/fuel-indexer-schema", default-features = false }
fuel-tx = "0.26.0"
fuels = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" , default-features = false }
fuels = { version = "0.37" }
fuels-core = { version = "0.37", default-features = false }
fuels-macros = { version = "0.37" }
fuels-types = { version = "0.37" , default-features = false }
getrandom = { version = "0.2", features = ["js"] }
instant = { version = "0.1", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
6 changes: 3 additions & 3 deletions examples/hello-world/hello-index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ fuel-indexer-macros = { version = "0.4", path = "../../../packages/fuel-indexer-
fuel-indexer-plugin = { version = "0.4", path = "../../../packages/fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.4", path = "../../../packages/fuel-indexer-schema", default-features = false }
fuel-tx = "0.26.0"
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen"}
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" , default-features = false }
fuels-core = { version = "0.37", default-features = false }
fuels-macros = { version = "0.37"}
fuels-types = { version = "0.37" , default-features = false }
getrandom = { version = "0.2", features = ["js"] }
instant = { version = "0.1", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
6 changes: 3 additions & 3 deletions examples/hello-world/hello-world-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ fuel-indexer-lib = { version = "0.4", path = "../../../packages/fuel-indexer-lib
fuel-indexer-tests = { version = "0.0.0", path = "./../../../packages/fuel-indexer-tests" }
fuel-tx = "0.26.0"
fuel-types = "0.26.0"
fuels = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels = { version = "0.37" }
fuels-core = { version = "0.37", default-features = false }
fuels-macros = { version = "0.37" }
rand = "0.8"
thiserror = "1.0"
tokio = { version = "1.17", features = ["macros", "rt-multi-thread"] }
12 changes: 6 additions & 6 deletions packages/fuel-indexer-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fuel-indexer-lib = { version = "0.4", path = "../fuel-indexer-lib", default-feat
fuel-indexer-schema = { version = "0.4", path = "../fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.4", path = "../fuel-indexer-types" }
fuel-tx = "0.26.0"
fuels-code-gen = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-code-gen = { version = "0.37", default-features = false }
fuels-core = { version = "0.37", default-features = false }
fuels-types = { version = "0.37", default-features = false }
graphql-parser = "0.3"
lazy_static = "1.4"
proc-macro-error = "1.0"
Expand All @@ -34,9 +34,9 @@ syn = { version = "1.0", features = ["full"] }

[dev-dependencies]
fuel-indexer-plugin = { version = "0.4", path = "../fuel-indexer-plugin" }
fuels = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen"}
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels = { version = "0.37"}
fuels-macros = { version = "0.37", default-features = false }
fuels-types = { version = "0.37", default-features = false }
trybuild = "1.0"

[features]
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer-schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fuel-indexer-postgres = { version = "0.4", path = "../fuel-indexer-database/post
fuel-indexer-types = { version = "0.4", path = "../fuel-indexer-types" }
fuel-tx = { version = "0.26.0", features = ["serde", "alloc"] }
fuel-types = { version = "0.26.0", features = ["serde", "alloc"] }
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-core = { version = "0.37", default-features = false }
graphql-parser = "0.3"
hex = "0.4"
itertools = { version = "0.10", optional = true }
Expand Down
6 changes: 3 additions & 3 deletions packages/fuel-indexer-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ fuel-indexer-schema = { version = "0.4", path = "./../fuel-indexer-schema" }
fuel-indexer-types = { version = "0.4", path = "./../fuel-indexer-types" }
fuel-tx = "0.26.0"
fuel-types = "0.26.0"
fuels = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", features = ["fuel-core-lib"] }
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = true }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels = { version = "0.37", features = ["fuel-core-lib"] }
fuels-core = { version = "0.37", default-features = true }
fuels-macros = { version = "0.37" }
futures = "0.3"
hex = "0.4"
hyper = { version = "0.14", features = ["client", "http2", "http1", "runtime" ]}
Expand Down
4 changes: 2 additions & 2 deletions packages/fuel-indexer-tests/components/fuel-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ publish = false
clap = { version = "3.1", features = ["cargo", "derive", "env"] }
fuel-indexer-tests = { version = "0.0.0", path = "./../../../fuel-indexer-tests" }
fuel-types = "0.26.0"
fuels = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", features = ["fuel-core-lib"] }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels = { version = "0.37", features = ["fuel-core-lib"] }
fuels-macros = { version = "0.37" }
tokio = { version = "1.17", features = ["macros", "rt-multi-thread"] }
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ fuel-indexer-macros = { version = "0.4", path = "../../../../fuel-indexer-macros
fuel-indexer-plugin = { version = "0.4", path = "../../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.4", path = "../../../../fuel-indexer-schema", default-features = false }
fuel-tx = "0.26.0"
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-core = { version = "0.37", default-features = false }
fuels-macros = { version = "0.37" }
fuels-types = { version = "0.37", default-features = false }
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ fuel-indexer-macros = { version = "0.4", path = "../../../../../../packages/fuel
fuel-indexer-plugin = { version = "0.4", path = "../../../../../../packages/fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.4", path = "../../../../../../packages/fuel-indexer-schema", default-features = false }
fuel-tx = "0.26.0"
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-macros = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-core = { version = "0.37", default-features = false }
fuels-macros = { version = "0.37" }
fuels-types = { version = "0.37", default-features = false }
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
4 changes: 2 additions & 2 deletions packages/fuel-indexer-tests/src/fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ use fuel_indexer_database::IndexerConnectionPool;
use fuel_indexer_lib::config::{
DatabaseConfig, FuelNodeConfig, GraphQLConfig, IndexerConfig,
};
use fuels::core::parameters::StorageConfiguration;
use fuels::{
macros::abigen,
prelude::{
setup_single_asset_coins, setup_test_client, AssetId, Bech32ContractId, Config,
Contract, Provider, TxParameters, WalletUnlocked, DEFAULT_COIN_AMOUNT,
Contract, Provider, StorageConfiguration, TxParameters, WalletUnlocked,
DEFAULT_COIN_AMOUNT,
},
signers::Signer,
};
Expand Down
3 changes: 1 addition & 2 deletions packages/fuel-indexer-tests/tests/integration/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ use fuel_indexer_tests::{
defaults,
fixtures::{indexer_service_postgres, tx_params},
};
use fuels::core::parameters::StorageConfiguration;
use fuels::prelude::{
setup_single_asset_coins, setup_test_client, AssetId, Contract, Provider,
WalletUnlocked, DEFAULT_COIN_AMOUNT,
StorageConfiguration, WalletUnlocked, DEFAULT_COIN_AMOUNT,
};
use fuels::signers::Signer;
use fuels_macros::abigen;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ help: consider importing one of these items
|
2 | use fuels::client::schema::schema::Transaction;
|
and 2 other candidates
and 4 other candidates

error[E0425]: cannot find function `serialize` in this scope
--> ../fuel-indexer-tests/trybuild/fail_if_attribute_abi_arg_includes_invalid_type.rs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ help: consider importing one of these items
|
2 | use fuels::client::schema::schema::Transaction;
|
and 2 other candidates
and 4 other candidates

error[E0425]: cannot find function `serialize` in this scope
--> ../fuel-indexer-tests/trybuild/fail_if_attribute_schema_arg_is_invalid.rs
Expand Down
4 changes: 2 additions & 2 deletions packages/fuel-indexer-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "Fuel Indexer Types"
chrono = { version = "0.4", features = ["serde"] }
fuel-tx = { version = "0.26.0", features = ["serde"] }
fuel-types = "0.26.0"
fuels-core = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }
fuels-core = { version = "0.37", default-features = false }
fuels-types = { version = "0.37", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
sha2 = "0.9"
2 changes: 1 addition & 1 deletion plugins/forc-index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ forc-tracing = { version = "0.31", default-features = false }
forc-util = { version = "0.35.0" }
fuel-indexer-lib = { version = "0.4", path = "../../packages/fuel-indexer-lib" }
fuel-tx = { version = "0.26.0", features = ["builder"] }
fuels-types = { git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" , default-features = false }
fuels-types = { version = "0.37" , default-features = false }
hex = "0.4.3"
hyper-rustls = { version = "0.23", features = ["http2"] }
indicatif = "0.17"
Expand Down
12 changes: 6 additions & 6 deletions plugins/forc-index/src/utils/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ fuel-indexer-macros = {{ version = "0.4", default-features = false }}
fuel-indexer-plugin = {{ version = "0.4", features = ["native-execution"] }}
fuel-indexer-schema = {{ version = "0.4", default-features = false }}
fuel-tx = "0.26"
fuels = {{ git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }}
fuels-core = {{ git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }}
fuels-types = {{ git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }}
fuels = {{ version = "0.37" }}
fuels-core = {{ version = "0.37" }}
fuels-types = {{ version = "0.37", default-features = false }}
getrandom = {{ version = "0.2", features = ["js"] }}
serde = {{ version = "1.0", default-features = false, features = ["derive"] }}
"#
Expand All @@ -50,9 +50,9 @@ fuel-indexer-macros = {{ version = "0.4", default-features = false }}
fuel-indexer-plugin = {{ version = "0.4" }}
fuel-indexer-schema = {{ version = "0.4", default-features = false }}
fuel-tx = "0.26"
fuels-core = {{ git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }}
fuels-macros = {{ git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen" }}
fuels-types ={{ git = "https://github.com/FuelLabs/fuels-rs", branch = "segfault_magnet/wasm_friendly_abigen", default-features = false }}
fuels-core = {{ version = "0.37", default-features = false }}
fuels-macros = {{ version = "0.37" }}
fuels-types ={{ version = "0.37", default-features = false }}
getrandom = {{ version = "0.2", features = ["js"] }}
serde = {{ version = "1.0", default-features = false, features = ["derive"] }}
"#
Expand Down

0 comments on commit fe4d365

Please sign in to comment.