Closed Juuddi closed 9 months ago
0.1.16
utils, getShardFromAddress
The getShardFromAddress method added into quais under the utils package is not available via quais.utils.getShardFromAddress. This means that users must import the utility directly.
getShardFromAddress
quais.utils.getShardFromAddress
# Expected import scenario const { quais } = require('quais') const shard = quais.utils.getShardFromAddress(address) # Current import scenario const { getShardFromAddress } = require('quais/lib/utils') const shard = getShardFromAddress(address)
No response
TypeError: quais.utils.shardFromAddress is not a function
node.js (v12 or newer)
Ethers Version
0.1.16
Search Terms
utils, getShardFromAddress
Describe the Problem
The
getShardFromAddress
method added into quais under the utils package is not available viaquais.utils.getShardFromAddress
. This means that users must import the utility directly.Code Snippet
Contract ABI
No response
Errors
Environment
node.js (v12 or newer)
Environment (Other)
No response