I keep getting this error when i try to store a value on sfStore :transact to StorageFactory.sfStore errored: Error encoding arguments: Error: invalid BigNumber string (argument="value", value="0.7", code=INVALID_ARGUMENT, version=bignumber/5.7.0) #5802
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Simple_Storage.sol";
contract StorageFactory {
//Creating a function that can deploy a simple storage contract
//Adding an array allows you to keep track of all your simple storage deployments
Simple_Storage[] public simpleStorageArray;
}
Beta Was this translation helpful? Give feedback.
All reactions