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

Commit

Permalink
Fix trybuild
Browse files Browse the repository at this point in the history
  • Loading branch information
deekerno committed Sep 13, 2023
1 parent a062a9a commit 607b9c5
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[indexer(manifest = "packages/fuel-indexer-tests/trybuild/invalid_abi_type_simple_wasm.yaml")]
#[indexer(
manifest = "packages/fuel-indexer-tests/trybuild/invalid_abi_type_simple_wasm.yaml"
)]
mod indexer {
fn function_one(event: BlockHeight) {
let BlockHeight { id, account } = event;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[no_mangle]
Expand All @@ -13,7 +12,10 @@ fn ff_put_many_to_many_record(_inp: ()) {}
#[indexer(manifest = "packages/fuel-indexer-tests/trybuild/simple_wasm.yaml")]
mod indexer {
fn function_one() {
let t1 = Thing1 { id: uid([1]), account: Address::default() };
let t1 = Thing1 {
id: uid([1]),
account: Address::default(),
};
t1.save();
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::indexer;

#[no_mangle]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[no_mangle]
fn ff_log_data(_inp: ()) {}

#[indexer(manifest = "packages/fuel-indexer-tests/trybuild/invalid_schema_simple_wasm.yaml")]
#[indexer(
manifest = "packages/fuel-indexer-tests/trybuild/invalid_schema_simple_wasm.yaml"
)]
mod indexer {
fn function_one(event: SomeEvent) {
let SomeEvent { id, account } = event;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[indexer(manifest = "packages/fuel-indexer-tests/trybuild/simple_wasm.yaml")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[no_mangle]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[indexer(manifest = "packages/fuel-indexer-tests/trybuild/simple_wasm.yaml")]
mod indexer {

mod some_disallowed_module {
mod some_disallowed_module {}

}

fn function_one(event: SomeEvent) {
let SomeEvent { id, account } = event;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[indexer(manifest = "packages/fuel-indexer-tests/trybuild/simple_wasm.yaml")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[no_mangle]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[no_mangle]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
extern crate alloc;
use fuel_indexer_utils::prelude::*;

#[no_mangle]
Expand Down

0 comments on commit 607b9c5

Please sign in to comment.