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

Save VM State and Blocks #4529

Merged
merged 17 commits into from
Mar 12, 2024
Merged

Save VM State and Blocks #4529

merged 17 commits into from
Mar 12, 2024

Conversation

ioedeveloper
Copy link
Member

No description provided.

Copy link

netlify bot commented Feb 13, 2024

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 3deb00f
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/65f0188b6726e500089df29a
😎 Deploy Preview https://deploy-preview-4529--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -889,8 +904,13 @@ export class Blockchain extends Plugin {
let execResult
let returnValue = null
if (isVM) {
const hhlogs = await this.web3().remix.getHHLogsForTx(txResult.transactionHash)
if (!tx.useCall) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Saving the state should be done elsewhere, so it also takes in account txs done from a script.

@@ -36,5 +36,6 @@
"settings.port": "PUERTO",
"settings.projectID": "ID DEL PROYECTO",
"settings.projectSecret": "SECRETO DE PROYECTO",
"settings.analyticsInRemix": "Analíticas en IDE Remix"
"settings.analyticsInRemix": "Analíticas en IDE Remix",
"settings.enableSaveEnvState": "Guardar el estado del entorno de implementación"
Copy link
Contributor

Choose a reason for hiding this comment

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

i think this is fine if you just put the english translation next time.
Translations are made from the crowd-in interface.

@@ -90,3 +90,8 @@ export const saveIpfsSettingsToast = (config, dispatch, ipfsURL, ipfsProtocol, i
config.set('settings/ipfs-project-secret', ipfsProjectSecret)
dispatch({ type: 'save', payload: { message: 'IPFS settings have been saved' } })
}

export const saveEnvState = (config, checked, dispatch) => {
config.set('settings/save-evm-state', checked)

This comment was marked as resolved.

@yann300
Copy link
Contributor

yann300 commented Mar 12, 2024

I m thinking there should be a way to show from udapp that state is saved (next PR tho I guess)

@ioedeveloper ioedeveloper merged commit 574c1c3 into master Mar 12, 2024
32 checks passed
@ioedeveloper ioedeveloper deleted the vm-state branch March 12, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants