Skip to content

Rolldown on_idle_hook & configurable dispute period (#843) #755

Rolldown on_idle_hook & configurable dispute period (#843)

Rolldown on_idle_hook & configurable dispute period (#843) #755

GitHub Actions / E2E report yarn test-sequential-no-bootstrap failed Nov 29, 2024 in 0s

E2E report yarn test-sequential-no-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

14 tests were completed in 174s with 0 passed, 14 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.claimAndActivate.test.ts 2❌ 66s
test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts 1❌ 35s
test/sequential/xyk-pallet.API.treasury.v2.test.ts 9❌ 36s
test/sequential/xyk-pallet.scenarios.v2.test.ts 2❌ 36s

❌ test/sequential/bootstrap.claimAndActivate.test.ts

bootstrap - checking bootstrapped pool in different situations
  ❌ bootstrap - checking claiming and activating rewards. Promoting pool is true, vesting MGA token for User1 is false
	Error: thrown: Object {
  ❌ bootstrap - checking claiming and activating rewards. Promoting pool is false, vesting MGA token for User1 is false
	Error: expect(received).toEqual(expected) // deep equality

❌ test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts

❌ xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset
	Error:   --- TX Mapping issue ---

❌ test/sequential/xyk-pallet.API.treasury.v2.test.ts

xyk-pallet - treasury tests [Mangata]: on treasury we store
  ❌ assets won when assets are sold [Selling Mangata] - 5
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying Mangata]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
  ❌ assets won when assets are sold [Selling other in MGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying other in MGA pool]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store
  ❌ assets won when assets are sold [Selling X connected to MGA pool] - rounding
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying X connected to MGA pool]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
  ❌ assets won when assets are sold [Selling Y - X connected toMGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying Y - X connected toMGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
xyk-pallet - treasury tests [Connected - Mangata]: Error cases
  ❌ Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')

❌ test/sequential/xyk-pallet.scenarios.v2.test.ts

xyk-pallet: Happy case scenario
  ❌ xyk-pallet: Happy case scenario
	Error: thrown: Object {
xyk-pallet: Liquidity sufficiency scenario
  ❌ xyk-pallet: Liquidity sufficiency scenario
	Error: thrown: Object {

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/bootstrap.claimAndActivate.test.ts ► bootstrap - checking bootstrapped pool in different situations ► bootstrap - checking claiming and activating rewards. Promoting pool is true, vesting MGA token for User1 is false

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  Error: thrown: Object {
Raw output
Error: thrown: Object {
  "data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/bootstrap.claimAndActivate.test.ts:80:5
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-each/build/bind.js:81:13
    at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-each/build/bind.js:47:15
    at Array.forEach (<anonymous>)
    at eachBind (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-each/build/bind.js:39:22)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/bootstrap.claimAndActivate.test.ts:64:2
    at SourceTextModule.evaluate (node:internal/vm/module:226:23)
    at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
    at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
    at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/bootstrap.claimAndActivate.test.ts ► bootstrap - checking bootstrapped pool in different situations ► bootstrap - checking claiming and activating rewards. Promoting pool is false, vesting MGA token for User1 is false

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality

Expected: "BeforeStart"
Received: "Public"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:49:37
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts ► xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  Error:   --- TX Mapping issue --- 
Raw output
Error:   --- TX Mapping issue --- 
    at getEventResultFromMangataTx (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:169:11)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:199:29
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are sold [Selling Mangata] - 5

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:88:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying Mangata]

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:122:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are sold [Selling other in MGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:154:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying other in MGA pool]

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:190:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are sold [Selling X connected to MGA pool] - rounding

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:271:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are bought [Buying X connected to MGA pool]

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:327:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are sold [Selling Y - X connected toMGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:360:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are bought [Buying Y - X connected toMGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-df142b50-ae37-11ef-a9b3-df2200a40cdb.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:412:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)