Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [migration]

The tag has no usage guidance.

0
votes
0answers
30 views

How to `truffle migrate` to private permissioned network?

I am running a private permissioned network and would like to use Truffle v5.0.1 for deployment. I use it according to the documentation: Compile my project with truffle compile so that the ./build ...
0
votes
1answer
17 views

Migrates contract with specific account without hard-code address using truffle and Genache

Block Builders! I am trying to migrate my two smart contracts using truffle and Genache. I would like to specify the deploying accounts existing locally. However, when I try to migrate the contracts I ...
1
vote
1answer
27 views

Migration internal storage to a new smart contract

What is currently the best way to migrate data from one contract for example the mapping to a new one?
0
votes
1answer
22 views

How does EtherDelta migrates mapping?

I'm looking at EtherDelta contract, and -- provided it had been migrated several times in the past and probably foresees future migrations -- I'm confused as I don't see any method by which the owner ...
0
votes
0answers
43 views

how can i migrate my private blockchain

heyyy how can i migrate my private blockchain without disturbing my old blockchain logs from ethereum to quorum? i have a private blockchain and i want to migrate to quorum blockchain so how can i use ...
0
votes
1answer
154 views

perigord test: “authentication needed: password or unlock”?

Follow these: https://decentralize.today/introducing-perigord-golang-tools-for-ethereum-dapp-development-60556c2d9fd https://www.youtube.com/watch?v=oQZtKf_hzOU Running perigord deploy, enter "blah":...
2
votes
1answer
768 views

How do I make truffle migrate replace just one contract?

I have a dapp consisting of two contracts, which don't particularly have a dependency on each other or know about each other. I want to replace one of the contracts, but not the other one. If I did ...
0
votes
1answer
177 views

Truffle “Replacing” durring migration

what does "Replacing" mean in migration? a simple test contract C.sol: pragma solidity ^0.4.17; contract C{ uint public ConstructorUint; function C(uint SetConstructorUint)public{ ...
0
votes
2answers
171 views

How to communicate with a deployed token?

Using Truffle, I am trying to deploy the following contract: pragma solidity ^0.4.13; contract ERC20Events { event Approval(address indexed src, address indexed guy, uint wad); event ...
5
votes
4answers
615 views

I can't verify my contract on the Rinkeby etherscan site

I'm getting the following error when verifying on the RINKEBY etherscan site: Error! Unable to verify source code Exception #1 Occured: ERROR|The Contract solidity compilation has exceeded the ...
0
votes
1answer
237 views

What does “Migration” means?

I saw different companies like Goldmint have on their roadmap this step "Migration to owned blockchain". Could anyone explain how a "Migration" works from Ethereum to a private blockchain and what ...
0
votes
0answers
22 views

What are the economic benefits to create an owned blockchain? [duplicate]

Lot of entity on Ethereum have decided to create their own blockchain and migrate there. What I can't find online is what are economical advantages on doing this. Is it related solely to a cheaper ...
2
votes
1answer
308 views

What would it take to migrate from one smart contract platform to another?

If one wants to migrate from one platform, e.g. Ethereum, to another one, e.g. NEO or EOS, then what steps must be taken. As per my understanding, the following steps would be needed at high level ...
1
vote
1answer
79 views

Is a truffle migration effectively the same thing as a fork?

I'm confused as to the distinction between a migration (in truffle) and a fork (project, not ethereum). After the initial migration (deploy), any future migrations create new contracts with new ...
0
votes
0answers
733 views

Contract has not been deployed to detected network (network/artifact mismatch) app.js:72

I can not connect to the test network, I'm trying to write my first DApp pet shop and nothing will work. I tried to specify the parameter but did not get anything and in the console in the browser. I ...
2
votes
1answer
234 views

truffle migrate restarts from first migration after restarting testrpc

I’m trying to create sort of private chain on testrpc so i use testrpc -u 0 -d --db /path/to/db to start testrpc each time. The thing is that if I restart testrpc (kill it and start it again) truffle ...
1
vote
2answers
1k views

Alternatives to truffle?

I know nothing of solidity and I don't even understand what a dApp is or how to access one, so this question might be silly. But I have a contract to migrate and it hangs, so I want to try migrating ...
4
votes
1answer
560 views

Error: invalid address during truffle migration process in Rinkeby network

I can't deploy my contract to Rinkeby network through truffle migrate --reset --network rinkeby. My truffle.js file looks like this: { networks: { rinkeby: { { ...
1
vote
1answer
883 views

truffle migrate hanging on Deploying Migrations

I am deploying a contract on Ropsten Network,These are my settings 2_deploy_contracts.js var SafeMath = artifacts.require("./SafeMath.sol"); var TahaCoin = artifacts.require("./TahaCoin.sol"); var ...
1
vote
0answers
269 views

Using create migration primitive with truffle

I am following this guide doing custom migrations with truffle. When I run truffle create migration deploy_hello_world it creates this path migrations/1501429988_deploy_hello_world.js/migration.js. ...
7
votes
2answers
2k views

truffle migrate Error: “Cannot find module 'truffle-expect'”

I'm following a solidity tutorial right now and I'm currently encountering an error when I run truffle migrate. Also, testrpc is running in another terminal tab, so this issue is unrelated to the ...
1
vote
0answers
385 views

Truffle v3.2.5 migration error: contract code couldn't be stored

I'm using Truffle 3.2.5 and Parity to try and migrate a project to Ropsten. I've tried changing the gas amount per the error's advice. I'm running a full Parity node on the same machine, so my truffle ...
1
vote
0answers
316 views

truffle log location?

Does anyone know where truffle keeps logs? I am unable to perform a migration. It gives me no error message; it just hangs on: Running migration: 1_initial_migration.js Deploying Migrations... ...
10
votes
2answers
2k views

Truffle: Hanging on “Deploying Migrations…”

I am deploying a contract on a private testnet. I am using Parity. When I type: $ truffle migrate --network my-network-name I get a popup in the Parity interface for a password to my account. I ...
8
votes
3answers
2k views

Truffle migration stuck

I am trying to migrate contract on a block chain network created using azure ethereum consortium blockchain, But when I am running the command Truffle migrate it stuck at PS D:\sl\BCSLAC\bcdemo\sol&...
7
votes
2answers
469 views

How to backup contract's data in case of upgrading the contract

I'm trying to make a Dapp using solidity. I saw a few article to segregate data from codes for updating code contracts. But what can I do if I have to upgrade data structure itself, such as adding ...
8
votes
1answer
700 views

Migrating solidity program testrpc+truffle - Error: Invalid JSON RPC response: “” at Object.InvalidResponse

I am trying to make a truffle application. truffle compile : working fine making a 'build' folder with .json files in it. truffle migrate : Gives the following error I am running testrpc in ...
5
votes
1answer
3k views

Truffle Dapp only works when I first use `truffle migrate --reset`

When I first load my Dapp with testrpc the functionality doesn't work until I use the command truffle migrate --reset Any ideas why?
21
votes
3answers
8k views

What are truffle migrations?

As written in Truffle docs: Migrations are Javascript files that help you deploy contracts to the Ethereum network. These files are responsible for staging your deployment tasks, and they're ...
7
votes
3answers
3k views

Migration from Geth to Parity: Is there anything to copy/export?

So, I want to migrate to gain disk space thanks to blockchain pruning (it seems that it goes from ~11.4 GiB to ~3.3 GiB) and try the difference of sync speed. Is this already documented somewhere? (...
6
votes
2answers
558 views

Migrating Ethereum development from Windows to Ubuntu

I recently had Ethereum on Windows (Ethereum Wallet) and Mix. Later I copied the whole ethereum folder on Windows to a cold storage and installed Ubuntu on the machine. My question is how do I import ...