Skip to content

Commit

Permalink
fix(ri/client): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Kooshaba committed Jul 19, 2022
1 parent 23b77af commit 56737fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -247,7 +247,7 @@ export async function createNetworkLayer(config: NetworkLayerConfig) {
const entityId = world.entities[entity];

console.log(`Sent transaction to edit networked Component ${component.id} for Entity ${entityId}`);
await systems["mudwar.component.ComponentDev"].executeTyped(
await systems["mudwar.system.ComponentDev"].executeTyped(
component.metadata.contractId,
BigNumber.from(entityId),
data
Expand Down
2 changes: 1 addition & 1 deletion packages/ri/scripting/src/setupContracts.ts
Expand Up @@ -39,7 +39,7 @@ export async function setupContracts() {
const SystemsComponent = defineComponent(world, { value: Type.String });

console.log("Fetching systems...");
for (const systemId of ["ember.system.bulkSetStateSystem"]) {
for (const systemId of ["mudwar.system.BulkSetState"]) {
const hashedSystemId = keccak256(systemId);
const address = await contracts.get().World.getSystemAddress(hashedSystemId);
console.log("Got address for", systemId, address);
Expand Down

0 comments on commit 56737fe

Please sign in to comment.