Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New chain]: Swisstronik testnet #678

Closed
2 tasks done
fdematos opened this issue Sep 9, 2024 · 5 comments · Fixed by #721
Closed
2 tasks done

[New chain]: Swisstronik testnet #678

fdematos opened this issue Sep 9, 2024 · 5 comments · Fixed by #721
Labels
new-chain Request to deploy to a new chain ready-to-deploy Pre-deployment checks have passed and is ready to deploy

Comments

@fdematos
Copy link

fdematos commented Sep 9, 2024

Chain Name

Swisstronik testnet

RPC URL

https://json-rpc.testnet.swisstronik.com/unencrypted/

The chain must be added to https://chainlist.org/

  • I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

  • I sent the pre-fund in accordance with Github Action's comment

Relevant information

Block explorer: https://explorer-evm.testnet.swisstronik.com/

@fdematos fdematos added the new-chain Request to deploy to a new chain label Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

✅ Success:
The issue description is valid:
- The RPC URL is valid
- The chain is in the chainlist
- The deployer address is pre-funded
✨ The team will be in touch with you soon ✨

@github-actions github-actions bot added the ready-to-deploy Pre-deployment checks have passed and is ready to deploy label Sep 9, 2024
@nlordell nlordell added on-hold Further information is required and removed ready-to-deploy Pre-deployment checks have passed and is ready to deploy labels Sep 11, 2024
@nlordell
Copy link
Collaborator

nlordell commented Sep 11, 2024

I tried deploying on this chain and the deployment simulation is not successful. In particular, when we simulate the deployment transaction, it is returning that the contract will be deployed with the empty byte code instead of the expected one.

curl -s https://json-rpc.testnet.swisstronik.com -H 'content-type: application/json' --data '{"jsonrpc":"2.0","id":0,"meth
od":"eth_call","params":[{"data":"0x604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578
182fd5b8082525050506014600cf3"},"latest"]}'

Returns

{"jsonrpc":"2.0","id":0,"result":"0x"}

@github-actions github-actions bot added the ready-to-deploy Pre-deployment checks have passed and is ready to deploy label Sep 13, 2024
@fdematos
Copy link
Author

fdematos commented Sep 13, 2024

Hi @nlordell , I changed the RPC to use the unencrypted version, it should be ok.
Can you try one more time with this RPC ? Thanks

https://json-rpc.testnet.swisstronik.com/unencrypted/

@nlordell nlordell removed the ready-to-deploy Pre-deployment checks have passed and is ready to deploy label Sep 16, 2024
@nlordell
Copy link
Collaborator

I still run into the same error with the deployment script. It looks like its an issue with the node not simulating contract creation eth_calls as others do (notably GETH) in that it does not return the bytecode that will be deployed.

nlordell added a commit that referenced this issue Oct 21, 2024
@nlordell nlordell added ready-to-deploy Pre-deployment checks have passed and is ready to deploy and removed on-hold Further information is required labels Oct 21, 2024
remedcu pushed a commit that referenced this issue Oct 21, 2024
@MikkySnow
Copy link

Hi @nlordell , we've done a chain upgrade which should fix issues mentioned above.

Now your request:

curl --location 'https://json-rpc.testnet.swisstronik.com/unencrypted/' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc":"2.0",
    "id":0,
    "method":"eth_call",
    "params":[{
        "data":"0x604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3"
        },
    "latest"]}'

returns:

{
  "jsonrpc": "2.0",
  "id": 0,
  "result": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3"
}

Could you please try one more time to deploy contracts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-chain Request to deploy to a new chain ready-to-deploy Pre-deployment checks have passed and is ready to deploy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants