Skip to content

Commit

Permalink
Update to remove AtIndex from dependency registry gets
Browse files Browse the repository at this point in the history
Minor adjustment to be consistent with consistency adjustments made in: ArtBlocks/artblocks-contracts#895
  • Loading branch information
jakerockland authored Jul 25, 2023
1 parent d09cf54 commit 4d24153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dependency-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ export function handleDependencyScriptUpdated(

let scripts: string[] = [];
for (let i = 0; i < scriptCount; i++) {
let script = dependencyRegistryContract.getDependencyScriptAtIndex(
let script = dependencyRegistryContract.getDependencyScript(
event.params._dependencyType,
BigInt.fromI32(i)
);
let scriptAddress = dependencyRegistryContract.getDependencyScriptBytecodeAddressAtIndex(
let scriptAddress = dependencyRegistryContract.getDependencyScriptBytecodeAddress(
event.params._dependencyType,
BigInt.fromI32(i)
);
Expand Down

0 comments on commit 4d24153

Please sign in to comment.