Skip to content

feat(sozo): upload world/resources metadata if they changed

Codecov / codecov/patch succeeded Nov 16, 2024 in 0s

75.62% of diff hit (target 56.34%)

View this Pull Request on Codecov

75.62% of diff hit (target 56.34%)

Annotations

Check warning on line 78 in bin/sozo/src/commands/migrate.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bin/sozo/src/commands/migrate.rs#L78

Added line #L78 was not covered by tests

Check warning on line 80 in crates/dojo/world/src/config/metadata_config.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/config/metadata_config.rs#L74-L80

Added lines #L74 - L80 were not covered by tests

Check warning on line 406 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L406

Added line #L406 was not covered by tests

Check warning on line 413 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L413

Added line #L413 was not covered by tests

Check warning on line 427 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L425-L427

Added lines #L425 - L427 were not covered by tests

Check warning on line 643 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L643

Added line #L643 was not covered by tests

Check warning on line 650 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L650

Added line #L650 was not covered by tests

Check warning on line 664 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L662-L664

Added lines #L662 - L664 were not covered by tests

Check warning on line 1811 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L1804-L1811

Added lines #L1804 - L1811 were not covered by tests

Check warning on line 1815 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L1814-L1815

Added lines #L1814 - L1815 were not covered by tests

Check warning on line 2691 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L2684-L2691

Added lines #L2684 - L2691 were not covered by tests

Check warning on line 2695 in crates/dojo/world/src/contracts/abigen/world.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/contracts/abigen/world.rs#L2694-L2695

Added lines #L2694 - L2695 were not covered by tests

Check warning on line 121 in crates/dojo/world/src/diff/resource.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/diff/resource.rs#L117-L121

Added lines #L117 - L121 were not covered by tests

Check warning on line 123 in crates/dojo/world/src/diff/resource.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/diff/resource.rs#L123

Added line #L123 was not covered by tests

Check warning on line 55 in crates/dojo/world/src/metadata/metadata_test.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/metadata/metadata_test.rs#L55

Added line #L55 was not covered by tests

Check warning on line 55 in crates/dojo/world/src/metadata/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/metadata/mod.rs#L55

Added line #L55 was not covered by tests

Check warning on line 60 in crates/dojo/world/src/metadata/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/metadata/mod.rs#L60

Added line #L60 was not covered by tests

Check warning on line 76 in crates/dojo/world/src/metadata/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/metadata/mod.rs#L76

Added line #L76 was not covered by tests

Check warning on line 182 in crates/dojo/world/src/remote/resource.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/remote/resource.rs#L182

Added line #L182 was not covered by tests

Check warning on line 185 in crates/dojo/world/src/remote/resource.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/remote/resource.rs#L184-L185

Added lines #L184 - L185 were not covered by tests

Check warning on line 192 in crates/dojo/world/src/remote/resource.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/remote/resource.rs#L192

Added line #L192 was not covered by tests

Check warning on line 195 in crates/dojo/world/src/remote/resource.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/remote/resource.rs#L194-L195

Added lines #L194 - L195 were not covered by tests

Check warning on line 29 in crates/dojo/world/src/uri.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/uri.rs#L24-L29

Added lines #L24 - L29 were not covered by tests

Check warning on line 64 in crates/dojo/world/src/uri.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/dojo/world/src/uri.rs#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 122 in crates/sozo/ops/src/migrate/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

crates/sozo/ops/src/migrate/mod.rs#L114-L122

Added lines #L114 - L122 were not covered by tests