threefoldtecharchive / tfchain_portal

A frontend to interact with Tfchain
0 stars 2 forks source link

Portal: Unable to reserve certain nodes. #77

Open mohamedamer453 opened 2 years ago

mohamedamer453 commented 2 years ago

Tested on testnet.

Currently there is a node available for rental in the dedicated node tab (node 202) but when i checked the explorer the node had some used resources.

image

and when i tried to reserve the node i wasn't able to.

after i clicked on reserve and confirmed the transaction from polkadot, the node started to load as it does normally but the a message saying that i successfully reserved node 202 appeared however the button was not changed from reserve to unreserve

image

here are the console logs

reserving node 202
index.js:127 web3Accounts: Found 6 addresses: 5DV5mjx3u4u2Fe6NMmFS5ga523MHkdG4STsWABdD8kBcXUJW, 5FugoiwNWKfSQQJ5mVLNDX7sfS91JkW2vcW8fxo3LnWXjyLJ, 5CUKN1tAqUFhzgbcYUPqCcLeEPdJDBiF6i6s5GMqyRVeFEpZ, 5GvHmfLSHgvpk8vk1WJB3BRFj615BA6WTevCJZdQey3efCbw, 5HizBpHtDu2koyHC54FTT6mehyJqL5odW6iLPaYZw75rH73T, 5CZbV1cX7jBuQTCermkszVpgqbAcs5ttSyWap1Au1eLfL9XP
actionBtn.vue:77 ek {dispatchError: undefined, dispatchInfo: undefined, internalError: undefined, events: Array(0), status: n}dispatchError: undefineddispatchInfo: undefinedevents: []internalError: undefinedstatus: nasBroadcast: (...)asDropped: (...)asFinalityTimeout: (...)asFinalized: (...)asFuture: (...)asInBlock: (...)asInvalid: (...)asReady: (...)asRetracted: (...)asUsurped: (...)createdAtHash: undefinedisBroadcast: (...)isDropped: (...)isFinalityTimeout: (...)isFinalized: (...)isFuture: (...)isInBlock: (...)isInvalid: (...)isReady: (...)isRetracted: (...)isUsurped: (...)registry: km {__private_83_classes: Map(246), __private_84_definitions: Map(1072), __private_85_lookup: undefined, __private_86_metadata: n(4), …}__private_37_def: {Future: {…}, Ready: {…}, Broadcast: {…}, InBlock: {…}, Retracted: {…}, …}__private_38_entryIndex: 1__private_39_indexes: (10) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]__private_40_isBasic: false__private_41_isIndexed: false__private_42_raw: xr {registry: km, createdAtHash: undefined}defIndexes: (...)defKeys: (...)encodedLength: (...)hash: (...)index: (...)isBasic: (...)isEmpty: (...)isNone: (...)isNull: (...)type: (...)value: (...)get asBroadcast: ()=> {…}get asDropped: ()=> {…}get asFinalityTimeout: ()=> {…}get asFinalized: ()=> {…}get asFuture: ()=> {…}get asInBlock: ()=> {…}get asInvalid: ()=> {…}get asReady: ()=> {…}get asRetracted: ()=> {…}get asUsurped: ()=> {…}get isBroadcast: ()=>this.type===eget isDropped: ()=>this.type===eget isFinalityTimeout: ()=>this.type===eget isFinalized: ()=>this.type===eget isFuture: ()=>this.type===eget isInBlock: ()=>this.type===eget isInvalid: ()=>this.type===eget isReady: ()=>this.type===eget isRetracted: ()=>this.type===eget isUsurped: ()=>this.type===e[[Prototype]]: piisCompleted: (...)isError: (...)isFinalized: (...)isInBlock: (...)isWarning: (...)[[Prototype]]: Object
actionBtn.vue:77 ek {dispatchError: undefined, dispatchInfo: undefined, internalError: undefined, events: Array(0), status: n}
actionBtn.vue:77 ek {dispatchError: n, dispatchInfo: n(3), internalError: undefined, events: Array(1), status: n}
actionBtn.vue:77 ek {dispatchError: n, dispatchInfo: n(3), internalError: undefined, events: Array(1), status: n}

and when i logged in from another twin it was not marked as taken.

image

and i was able to reserve it from the other twin

image