Skip to content

Commit

Permalink
Merge branch 'hello-world-example' of github.com:ava-labs/precompilev…
Browse files Browse the repository at this point in the history
…m into hello-world-example
  • Loading branch information
ceyonur committed Feb 23, 2023
2 parents 6f8ffd9 + a47fa10 commit 83b0388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contract-examples/test/hello_world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("ExampleHelloWorld", function () {
expect(result).to.equal("Hello World!");
});

it("contract should not be able to set greeting without enabled", async function () {
it("contract should not be able to set greeting without enabled role", async function () {
const modifiedGreeting = "What's up";
let contractRole = await adminSignerPrecompile.readAllowList(helloWorldContract.address);
expect(contractRole).to.be.equal(0); // 0 = NONE
Expand All @@ -48,7 +48,7 @@ describe("ExampleHelloWorld", function () {
expect.fail("should have errored")
})

it("should be add contract to enabled list", async function () {
it("should be able to add contract to enabled list", async function () {
let contractRole = await adminSignerPrecompile.readAllowList(helloWorldContract.address);
expect(contractRole).to.be.equal(0)

Expand Down

0 comments on commit 83b0388

Please sign in to comment.