Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/deploy/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const worldAbi = IBaseWorldAbi;

// Ideally, this should be an append-only list. Before adding more versions here, be sure to add backwards-compatible support for old Store/World versions.
export const supportedStoreVersions = ["2.0.0", "2.0.1", "2.0.2"];
export const supportedWorldVersions = ["2.0.0", "2.0.1", "2.0.2"];
export const supportedWorldVersions = ["2.0.0", "2.0.1", "2.0.2", "2.1.0"];

// TODO: extend this to include factory+deployer address? so we can reuse the deployer for a world?
export type WorldDeploy = {
Expand Down
1 change: 1 addition & 0 deletions packages/world-module-callwithsignature/mud.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ export default defineWorld({
key: ["signer"],
},
},
excludeSystems: ["CallWithSignatureSystem"],
});

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

7 changes: 7 additions & 0 deletions packages/world/mud.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ export const tablesConfig = defineWorld({
},
key: [],
},
CallWithSignatureNonces: {
schema: { signer: "address", nonce: "uint256" },
key: ["signer"],
},
},
});

Expand Down Expand Up @@ -147,6 +151,9 @@ export const systemsConfig = defineWorld({
WorldRegistrationSystem: {
name: "Registration",
},
CallWithSignatureSystem: {
name: "SignatureCall",
},
},
});

Expand Down
5 changes: 5 additions & 0 deletions packages/world/src/IWorldErrors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,9 @@ interface IWorldErrors {
* @param functionSelector The function selector of the disallowed callback.
*/
error World_CallbackNotAllowed(bytes4 functionSelector);

/**
* @notice Raised when the signature of a call to `callWithSignature` is invalid.
*/
error World_InvalidSignature();
}

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

1 change: 1 addition & 0 deletions packages/world/src/codegen/index.sol

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

2 changes: 2 additions & 0 deletions packages/world/src/codegen/interfaces/IBaseWorld.sol

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

Loading
Loading