direnv issue when deploying l1 contracts in l2 rollup creation #190
-
Did you check the documentation?
Did you check for duplicate questions?
Issue DescriptionHi everyone. I am running through the step-by-step for creating an L2 rollup. I am on the step for deploying the L1 contracts on sepolia. I am running the script: forge script scripts/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --broadcast --rpc-url $L1_RPC_URL I keep getting the error message: script failed: empty revert data The guide is saying to run direnv allow to fix this, which I have done, but the problem persists. Any idea how to navigate this? LogsNo response Additional InformationNo response FeedbackThe official guide for this process specifically lists the error I am receiving, but the solution offered is not fixing the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
In the output, there are dozens of errors that show up that look almost identical to this one: 2024-01-15T01:04:30.137658Z ERROR etherscan: Failed to deserialize response: expected value at line 1 column 1 res="\n<html xmlns="http://www.w3.org/1999/xhtml\">\n\n<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\n<title>403 - Forbidden: Access is denied.</title>\n<style type="text/css">\r\n\r\n</style>\n\n\n<div id="header"> Server Error\n<div id="content">\n<div class="content-container">\n403 - Forbidden: Access is denied.\nYou do not have permission to view this directory or page using the credentials that you supplied.\n\n\n<script>(function(){var js = "window['__CF$cv$params']={r:'845a347b8df22642',t:'MTcwNTI4MDY3MC4xNjkwMDA='};_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js',document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script>\n\n"And at the end of the output, there is another error at the end of the deploy:setUp section that states following:
And then at the very end is the error: |
Beta Was this translation helpful? Give feedback.
-
According to the error message in this log, there are missing parameters in the |
Beta Was this translation helpful? Give feedback.
-
Hey @Ezra-Labs, We hope your recent question was resolved to your satisfaction. Your feedback is invaluable and helps us improve our support services. Could you spare a moment to fill out a short feedback survey. Thank you for helping us improve our developer community. |
Beta Was this translation helpful? Give feedback.
According to the error message in this log, there are missing parameters in the
getting-started.json
generated during theconfig.sh
process.This is likely caused by the latest commit. Perhaps you can refer to https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/deploy-config/devnetL1-template.json to add the missing parameters and their values. This often works.
Another option is to use an earlier commit.