-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #318 from /issues/314
Issues/314 - Legacy API fixes
- Loading branch information
Showing
48 changed files
with
2,849 additions
and
2,893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,35 @@ | ||
#!/usr/bin/env bash | ||
BASEDIR=$(builtin cd .. || exit 1; pwd) | ||
#CONTAINER_NAME="cspr-nctl" | ||
CONTAINER_NAME="cspr-nctl-condor" | ||
CONTAINER_NAME="cspr-cctl" | ||
CCTL_ASSETS=/home/cctl/cctl/assets | ||
#CONTAINER_NAME="cspr-nctl-condor" | ||
# clear the assets folder | ||
rm -rf "${BASEDIR}/assets" | ||
mkdir "${BASEDIR}/assets" | ||
# copy net-1 users | ||
docker cp ${CONTAINER_NAME}:/home/casper/casper-nctl/assets/net-1/users "${BASEDIR}/assets/net-1" | ||
# copy net-1 chainspec | ||
docker cp ${CONTAINER_NAME}:/home/casper/casper-nctl/assets/net-1/chainspec "${BASEDIR}/assets/net-1" | ||
# copy faucet keys | ||
docker cp ${CONTAINER_NAME}:/home/casper/casper-nctl/assets/net-1/faucet "${BASEDIR}/assets/net-1" | ||
#rm -rf "${BASEDIR}/assets" | ||
#mkdir "${BASEDIR}/assets" | ||
## copy net-1 users | ||
#docker cp ${CONTAINER_NAME}:/home/casper/casper-nctl/assets/net-1/users "${BASEDIR}/assets/net-1" | ||
## copy net-1 chainspec | ||
#docker cp ${CONTAINER_NAME}:/home/casper/casper-nctl/assets/net-1/chainspec "${BASEDIR}/assets/net-1" | ||
## copy faucet keys | ||
#docker cp ${CONTAINER_NAME}:/home/casper/casper-nctl/assets/net-1/faucet "${BASEDIR}/assets/net-1" | ||
# | ||
|
||
|
||
|
||
echo -e "Starting assets\n" | ||
echo -e "[ Copying the test node assets to a local directory ]\n" | ||
|
||
# clear the assets folder | ||
rm -rf "${BASEDIR}"/assets | ||
mkdir "${BASEDIR}"/assets | ||
mkdir "${BASEDIR}"/assets/net-1 | ||
#mkdir "${BASEDIR}"/assets/chainspec | ||
#mkdir "${BASEDIR}"/assets/faucet | ||
# copy net-1 users | ||
docker cp cspr-cctl:$CCTL_ASSETS/users/. "${BASEDIR}"/assets/net-1 > /dev/null 2>&1 | ||
# copy net-1 chainspec | ||
docker cp cspr-cctl:$CCTL_ASSETS/genesis "${BASEDIR}"/assets/net-1/chainspec > /dev/null 2>&1 | ||
# copy faucet keys | ||
docker cp cspr-cctl:$CCTL_ASSETS/faucet/ "${BASEDIR}"/assets/net-1/faucet > /dev/null 2>&1 | ||
|
||
echo -e "Finished assets\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.casper.sdk.model.bid; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
/** | ||
* Condor V2.0.0 implementation of a Delegator. | ||
* | ||
* @author [email protected] | ||
*/ | ||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
public class DelegatorBid extends Delegator implements BidKind { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.casper.sdk.model.bid; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
/** | ||
* Condor V2.0.0 implementation of a Bid. | ||
* | ||
* @author [email protected] | ||
*/ | ||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
public class UnifiedBid extends Bid implements BidKind { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.