Skip to content

Commit

Permalink
Add corsdomain clause to support local development
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Solderitsch <james.j.solderitsch@villanova.edu>
  • Loading branch information
jsolderitsch committed Apr 25, 2022
1 parent 6d7064c commit a3966bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/blockchain/ethereum/geth/geth_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (p *GethProvider) DeployFireFlyContract() (*core.BlockchainConfig, error) {
}

func (p *GethProvider) GetDockerServiceDefinitions() []*docker.ServiceDefinition {
gethCommand := fmt.Sprintf(`--datadir /data --syncmode 'full' --port 30311 --http --http.addr "0.0.0.0" --http.port 8545 --http.vhosts "*" --http.api 'admin,personal,eth,net,web3,txpool,miner,clique' --networkid 2021 --miner.gasprice 0 --password /data/password --mine --allow-insecure-unlock --nodiscover`)
gethCommand := fmt.Sprintf(`--datadir /data --syncmode 'full' --port 30311 --http --http.addr "0.0.0.0" --http.corsdomain="*" --http.port 8545 --http.vhosts "*" --http.api 'admin,personal,eth,net,web3,txpool,miner,clique' --networkid 2021 --miner.gasprice 0 --password /data/password --mine --allow-insecure-unlock --nodiscover`)

serviceDefinitions := make([]*docker.ServiceDefinition, 1)
serviceDefinitions[0] = &docker.ServiceDefinition{
Expand Down

0 comments on commit a3966bd

Please sign in to comment.