Skip to content

Merge witnet ethers - #481

Merged
guidiaz merged 25 commits into
witnet:3.0.xfrom
guidiaz:merge-witnet-ethers
Nov 6, 2025
Merged

guidiaz merged 25 commits into
witnet:3.0.xfrom
guidiaz:merge-witnet-ethers

Conversation

@guidiaz

@guidiaz guidiaz commented Oct 31, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

module.exports = async function (truffleDeployer, network, [,,, master]) {
const addresses = await utils.readJsonFromFile("./migrations/addresses.json")
if (!addresses[network]) addresses[network] = {}
module.exports = async (truffleDeployer, network, [, master]) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we using now the 2nd account instead of 4th?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gateway's private keys in host where contracts get deployed have been reordered.

Comment thread src/bin/bots/randomizer.cjs Outdated
console.info(` - Transaction: ${receipt.hash}`)
console.info(
` - Tx. gas price: ${
receipt.gasPrice < 10 ** 9

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think receipt.gasPrice is a BigInt and that's why we are using Number(receipt.gasPrice) below.

Suggested change
receipt.gasPrice < 10 ** 9
receipt.gasPrice < BigInt(10 ** 9)

Comment thread package.json Outdated
"promise-poller": "^1.9.1"
},
"devDependencies": {
"@biomejs/biome": "^2.2.6",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Comment thread package.json Outdated
"truffle-flattener": "^1.6.0",
"truffle-plugin-verify": "^0.6.7",
"typescript": "^5.9.3",
"utf-8-validate": "^5.0.2",

@Tommytrg Tommytrg Nov 6, 2025 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we using the following dependencies?

  • utf-8-validate
  • truffle-flattener
  • truffle-assertions
  • custom-error-test-helper
  • @types/json-bigint
  • json-bigint
  • axios

continue
}

let _targetAddr = target.addr

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not using _targetAddr

Suggested change
let _targetAddr = target.addr

)

if (target.impl === impl) {
_targetAddr = await determineTargetAddr(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_targetAddr = await determineTargetAddr(
await determineTargetAddr(

Comment thread README-draft.md
@@ -0,0 +1,204 @@
# Wit/Oracle Solidity Framework -- Contracts, SDK and CLI tools for EVM-compatible chains

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this draft ready to review? Should be replacing README.md?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, not ready yet.

@guidiaz
guidiaz merged commit 938a2fb into witnet:3.0.x Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants