Skip to content

Commit e3481c0

Browse files
SegfaultdSegfaultFabrice BascoulergueEnguerrand Pinot
authored
Bring develop changes to master (#13)
* [SBC-152] Protocol upgrade (#12) * Beam messages integration (#10) * CI/CD pipes improvement, added contributing file * Move types declaration dependencies in production from dev dependencies * Update auto generated docs * 0.3.4 * Add support for ulum base denom * 0.3.5 * Added beam proto generation * Use builtin codecs * Added beam messages, fixed duplicate interface usage * Added editor config (webstorm) * Fixed typo * Removed not relevant test * Fixed codec compilation * Added basic beam test Co-authored-by: Segfault <tyldar@users.noreply.github.com> Co-authored-by: Fabrice Bascoulergue <fabrice@flashgap.com> Co-authored-by: Enguerrand Pinot <enguerrand@baldr.co> * 0.3.6 * Protocol upgrade Co-authored-by: Segfault <tyldar@users.noreply.github.com> Co-authored-by: Fabrice Bascoulergue <fabrice@flashgap.com> Co-authored-by: Enguerrand Pinot <enguerrand@baldr.co> * Bumped version Co-authored-by: Segfault <tyldar@users.noreply.github.com> Co-authored-by: Fabrice Bascoulergue <fabrice@flashgap.com> Co-authored-by: Enguerrand Pinot <enguerrand@baldr.co>
1 parent a137e8b commit e3481c0

File tree

12 files changed

+1730
-1158
lines changed

12 files changed

+1730
-1158
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lum-network/sdk-javascript",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"license": "Apache-2.0",
55
"description": "Javascript SDK library for NodeJS and Web browsers to interact with the Lum Network.",
66
"homepage": "https://github.com/lum-network/sdk-javascript#readme",

scripts/define-proto.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ protoc \
4747
"$THIRD_PARTY_PROTO_DIR/tendermint/types/types.proto" \
4848
"$THIRD_PARTY_PROTO_DIR/tendermint/types/validator.proto" \
4949
"$THIRD_PARTY_PROTO_DIR/tendermint/version/types.proto" \
50-
"$LUM_PROTO_DIR/chain/beam/beam.proto"
50+
"$LUM_PROTO_DIR/beam/beam.proto" \
51+
"$LUM_PROTO_DIR/beam/query.proto" \
52+
"$LUM_PROTO_DIR/beam/tx.proto"
5153

5254
# Remove unnecessary codec files
5355
rm -rf \

scripts/get-proto.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ZIP_FILE="$COSMOS_DIR/tmp.zip"
99

1010
LUM_NETWORK_DIR="$PROTO_DIR/lum-network"
1111
LUM_NETWORK_SDK_DIR="$LUM_NETWORK_DIR/chain"
12+
ZIP_LUM_FILE="$LUM_NETWORK_DIR/tmp.zip"
1213

1314
REF=${REF:-"master"}
1415
SUFFIX=${REF}
@@ -25,7 +26,10 @@ mv "$COSMOS_SDK_DIR-$SUFFIX" "$COSMOS_SDK_DIR"
2526
rm "$ZIP_FILE"
2627

2728
# Create the lum network dir
28-
mkdir -p "$LUM_NETWORK_SDK_DIR/proto/chain/beam"
29+
mkdir -p "$LUM_NETWORK_DIR"
2930

3031
# Download the beam archive
31-
wget -qO "$LUM_NETWORK_SDK_DIR/proto/chain/beam/beam.proto" "https://raw.githubusercontent.com/lum-network/chain/master/proto/beam/beam.proto?token=ABH2VUAPWO3DRGHMRGXWZWDASVAMY"
32+
wget -qO "$ZIP_LUM_FILE" "https://github.com/lum-network/chain/archive/$REF.zip"
33+
unzip "$ZIP_LUM_FILE" "*.proto" -d "$LUM_NETWORK_DIR"
34+
mv "$LUM_NETWORK_SDK_DIR-$SUFFIX" "$LUM_NETWORK_SDK_DIR"
35+
rm "$ZIP_LUM_FILE"

0 commit comments

Comments
 (0)