openzeppelin / defender-deploy-client-cli Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, @ericglau!
I'm trying to upgrade a UUPS smart contract deployed on Base Sepolia
through the new proposeUpgrade
method from the openzeppelin-foundry-upgrades library but getting the following error: Safe deployment not supported for network base-sepolia
. Do you have plans to add base-sepolia
support for this? Thanks!
It's worth saying that I'm using a Safe multisig wallet to upgrade it. I've attached the error log FYI.
script failed: revert: Failed to deploy contract DigitalEACV2.sol: node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
DefenderApiResponseError: Request failed with status code 400
at rejectWithDefenderApiError (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/@openzeppelin/defender-sdk-base-client/lib/api/api.js:10:27)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Axios.request (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/axios/dist/node/axios.cjs:3872:14)
at async DeployClient.apiCall (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/@openzeppelin/defender-sdk-base-client/lib/api/client.js:44:20)
at async deployContract (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/@openzeppelin/defender-deploy-client-cli/dist/internal/deploy-contract.js:21:22)
at async deploy (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/@openzeppelin/defender-deploy-client-cli/dist/commands/deploy.js:34:25)
at async main (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/@openzeppelin/defender-deploy-client-cli/dist/command-selector.js:31:13)
at async run (/Users/gabrielstoica/.npm/_npx/2a45ede413d8124b/node_modules/@openzeppelin/defender-deploy-client-cli/dist/cli.js:6:5) {
request: { path: '/v2/deployments', method: 'POST' },
response: {
status: 400,
statusText: 'Bad Request',
data: {
message: 'Safe deployment not supported for network base-sepolia'
}
}
}
It seems that SPDX identifiers such as BUSL-1.1 are not being recognized.
The error message returned is:
Error: License type BUSL-1.1 is not a valid SPDX license identifier for block explorer verification. Specify a valid license type.
Please reference https://spdx.org/licenses/ and https://etherscan.io/contract-license-types
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.