Skip to content

fix(torii): handle failed metadata fetch and empty metadata in db

Codecov / codecov/patch failed Dec 3, 2024 in 0s

0.00% of diff hit (target 56.02%)

View this Pull Request on Codecov

0.00% of diff hit (target 56.02%)

Annotations

Check warning on line 245 in crates/torii/core/src/executor/erc.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/core/src/executor/erc.rs#L245

Added line #L245 was not covered by tests

Check warning on line 248 in crates/torii/core/src/executor/erc.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/core/src/executor/erc.rs#L247-L248

Added lines #L247 - L248 were not covered by tests

Check warning on line 253 in crates/torii/core/src/executor/erc.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/core/src/executor/erc.rs#L250-L253

Added lines #L250 - L253 were not covered by tests

Check warning on line 255 in crates/torii/core/src/executor/erc.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/core/src/executor/erc.rs#L255

Added line #L255 was not covered by tests

Check warning on line 110 in crates/torii/graphql/src/object/erc/token_balance.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/graphql/src/object/erc/token_balance.rs#L106-L110

Added lines #L106 - L110 were not covered by tests

Check warning on line 241 in crates/torii/graphql/src/object/erc/token_balance.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/graphql/src/object/erc/token_balance.rs#L241

Added line #L241 was not covered by tests

Check warning on line 243 in crates/torii/graphql/src/object/erc/token_balance.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/graphql/src/object/erc/token_balance.rs#L243

Added line #L243 was not covered by tests

Check warning on line 126 in crates/torii/graphql/src/object/erc/token_transfer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/graphql/src/object/erc/token_transfer.rs#L122-L126

Added lines #L122 - L126 were not covered by tests

Check warning on line 270 in crates/torii/graphql/src/object/erc/token_transfer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/graphql/src/object/erc/token_transfer.rs#L270

Added line #L270 was not covered by tests

Check warning on line 272 in crates/torii/graphql/src/object/erc/token_transfer.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/torii/graphql/src/object/erc/token_transfer.rs#L272

Added line #L272 was not covered by tests