Skip to content

Commit

Permalink
Merge branch 'plugin-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
lidangzzz committed Jul 6, 2023
2 parents 60200f5 + 9035e15 commit dcc8c9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ enum EnumConditionExpression{
* 2. transfering tokens to address is in address array
* params: address[] fromAddressArray
*/
TRASNFER_TOKEN_FROM,
TRANSFER_TOKEN_FROM,

/**
* This condition expression will be ture if:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function containsAddr(array: string[], addr:string): boolean {
}


describe("batch_trasnfer_tokens_test", function () {
describe("batch_transfer_tokens_test", function () {


it ("should transfer tokens", async function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ function containsAddr(array: string[], addr:string): boolean {
}


describe("batch_trasnfer_tokens_from_to_test", function () {
describe("batch_transfer_tokens_from_to_test", function () {


it ("should trasnfer tokens (from-to) tokens", async function () {
it ("should transfer tokens (from-to) tokens", async function () {

const DARC = await ethers.getContractFactory("DARC");
const darc = await DARC.deploy();
Expand Down Expand Up @@ -166,7 +166,7 @@ describe("batch_trasnfer_tokens_from_to_test", function () {
expect(containsAddr(await darc.getTokenOwners(0), target3)).to.equal(false);
expect(containsAddr(await darc.getTokenOwners(1), target3)).to.equal(false);

// trasnfer tokens from target 1 to addr 6 multiple times and make sure that
// transfer tokens from target 1 to addr 6 multiple times and make sure that
// 1. the balance of target 1 and addr6 are correct
// 2. the token owner list of level 0 and 1 are correct
await darc.entrance({
Expand Down

0 comments on commit dcc8c9d

Please sign in to comment.