Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
66 views

error: System.ExtrinsicFailed: NoProvider when deploying smart contract

I just installed pallet-contracts on my Frontier node. From the Polkadot js app interface, I can send transactions with tokens without problems, but if I try to deploy a new smart contract (inside ...
Jacopo Mosconi's user avatar
1 vote
0 answers
23 views

"ContractTrapped" Error even with successful cross-contract call

let result_call = ink::env::call::build_call::<Environment>() .call(self.escrow_address) .gas_limit(0) .transferred_value(0) ...
Parth's user avatar
  • 11
2 votes
2 answers
76 views

Ink Smart Contract call Error

I am deploying an ink! smart contract to a local network, but when I tried to call any function from it i have this error: > { Err: { Module: { index: '8', error: '0x02000000' } } } Does anyone ...
Fred's user avatar
  • 23
3 votes
1 answer
205 views

Getting OutOfGas Error when trying to call smart contract

I am running tests of my !ink smart contracts using @727-ventures/typechain-polkadot module. But when I am running tests, sometimes getting OutOfGas Error. The strange thing is that not all cases are ...
Wolf's user avatar
  • 61
3 votes
1 answer
85 views

Problem deploying smart contract on rococo

I have been following the public documentation of polkadot API to deploy contract: https://polkadot.js.org/docs/api-contract/start/code but I'm getting error Uncaught (in promise) TypeError: code.tx....
Nikola Bozin's user avatar
2 votes
1 answer
81 views

Polkadot-JS not calling my contract properly

I used PolkadotJS to call a contract, when i did, it logged the status "in block", Turns out it never makes any state change. I used contracts-ui it worked, but with JS? Never. What can be ...
Woodfish's user avatar
  • 121
1 vote
1 answer
122 views

Out of gas Error for Contract execution

#[ink(message)] pub fn dummy_function( &mut self, value: u64, ) -> u64 { debug_println!("inside user contract dummy_function"); return 45 * ...
crypto sahdev's user avatar
5 votes
2 answers
904 views

smart contract function call error

I am deploying flipper ink! smart contract to shibuya, but when I tried to read the value using get() I am getting this error: { Err: { Module: { index: 70 error: 0x02000000 } } } I also tried ...
jefry's user avatar
  • 53
0 votes
1 answer
82 views

Contract not compiling. "Failed to resolve: use of undeclared type `SecretKey`

Here are the steps i have done: cargo contract new flipper in contract code i added these lines of code: use blst::min_pk::SecretKey; after #![cfg_attr(not(feature = "std"), no_std)] &...
Nikola Bozin's user avatar
1 vote
1 answer
29 views

NewContractNotFunded Error after submitting a smart contract on BereSheet

I'm trying to upload the flipper contract to Beresheet (Edgeware testnet) but after submitting, I got this contract.NewContractNotFunded error and the extrinsic failed. I search the error on Google ...
Minh Mốc's user avatar
  • 1,009