Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 871 Bytes

trouble-shooting.md

File metadata and controls

36 lines (31 loc) · 871 Bytes
description
This document provides troubleshooting guidance when using the AIN Blockchain.

Trouble Shooting

Exeeded Free tier budget.

Error message

Exceeded state budget limit for free tier (42479668 > 25000000)

You need to stake AIN token to your app if you want to write more data. How to stake

You can manage your app data capacity to using garbage collection rule.

const txBody = {
  operation: {
    typeL 'SET_RULE',
    ref: `/apps/${appName}/PATH_TO_SET_GC_RULE`
    value: {
      ".rule": {
        state: {
          gc_max_siblings: 50,
          gc_num_siblings_deleted: 10, // You should set this over 10.
        },
      }
    },
    gas_price: 500,
    timestamp: Date.now(),
    nonce: -1,
  }
}