test_sdk1 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entity/auction_state.rb +1 -0
- data/lib/entity/bid.rb +1 -0
- data/lib/entity/bid_info.rb +1 -0
- data/lib/entity/contract.rb +1 -1
- data/lib/entity/delegator.rb +1 -0
- data/lib/entity/deploy.rb +1 -0
- data/lib/entity/deploy_approval.rb +1 -0
- data/lib/entity/deploy_executable.rb +1 -0
- data/lib/entity/deploy_executable_item_internal.rb +1 -0
- data/lib/entity/deploy_executable_transfer.rb +1 -0
- data/lib/entity/deploy_hash.rb +1 -0
- data/lib/entity/deploy_header.rb +1 -0
- data/lib/entity/deploy_info.rb +1 -0
- data/lib/entity/deploy_named_argument.rb +1 -0
- data/lib/entity/deploy_transfer.rb +1 -0
- data/lib/entity/era_summary.rb +1 -0
- data/lib/entity/era_validator.rb +1 -0
- data/lib/entity/executable_deploy_item.rb +1 -1
- data/lib/entity/group.rb +1 -1
- data/lib/entity/module_bytes.rb +1 -0
- data/lib/entity/peer.rb +1 -0
- data/lib/entity/stored_contract_by_hash.rb +1 -0
- data/lib/entity/stored_contract_by_name.rb +1 -0
- data/lib/entity/stored_versioned_contract_by_hash.rb +1 -0
- data/lib/entity/stored_versioned_contract_by_name.rb +2 -0
- data/lib/entity/transfer.rb +1 -0
- data/lib/entity/validator_weight.rb +1 -0
- data/lib/rpc/rpc_client.rb +2 -1
- data/lib/rpc/rpc_error.rb +1 -0
- data/lib/test_sdk1.rb +1 -0
- data/lib/types/cl_type.rb +2 -1
- data/lib/types/cl_value.rb +1 -0
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc912ab6a40cae5e4fb436cd53e64f9d8e312ef47d538dd2bb9aa82e31b12a39
|
4
|
+
data.tar.gz: a560cc02719b199ce0ee21921aadcfbf1d6def7a5d92326de4bdf9539b9ff7fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c26c3679268634a2f6859367b5caa1281589dcc01fbaeb189b7fda3d6ad710fd86d9d7329fdbb371eda4bbc032bd799cea3063f66d6739df2ce422539ee77763
|
7
|
+
data.tar.gz: 359258d4d8bd9e817eda41ddc86644a618f897c0e412d18f14474934ea899e8694aaaa168b15ec8d44c326253edd8a75241c623769ff105e0c7a0898b65a5c1d
|
data/lib/entity/auction_state.rb
CHANGED
data/lib/entity/bid.rb
CHANGED
data/lib/entity/bid_info.rb
CHANGED
data/lib/entity/contract.rb
CHANGED
data/lib/entity/delegator.rb
CHANGED
data/lib/entity/deploy.rb
CHANGED
@@ -4,6 +4,7 @@ require_relative './deploy_executable_transfer.rb'
|
|
4
4
|
|
5
5
|
module Casper
|
6
6
|
module Entity
|
7
|
+
# DeployExecutable
|
7
8
|
class DeployExecutable
|
8
9
|
attr_accessor :module_bytes, :transfer, :stored_contract_by_hash, :stored_contract_by_name,
|
9
10
|
:stored_versioned_contract_by_hash, :stored_versioned_contract_by_name
|
@@ -17,6 +17,7 @@ require_relative './deploy_executable_item_internal.rb'
|
|
17
17
|
=end
|
18
18
|
module Casper
|
19
19
|
module Entity
|
20
|
+
# A native transfer which does not contain or reference a Wasm code.
|
20
21
|
class DeployExecutableTransfer < DeployExecutableItemInternal
|
21
22
|
|
22
23
|
# @param [Array<Array<DeployNamedArgument>>] args
|
data/lib/entity/deploy_hash.rb
CHANGED
data/lib/entity/deploy_header.rb
CHANGED
data/lib/entity/deploy_info.rb
CHANGED
data/lib/entity/era_summary.rb
CHANGED
data/lib/entity/era_validator.rb
CHANGED
data/lib/entity/group.rb
CHANGED
data/lib/entity/module_bytes.rb
CHANGED
@@ -2,6 +2,7 @@ require_relative './deploy_executable_item_internal.rb'
|
|
2
2
|
|
3
3
|
module Casper
|
4
4
|
module Entity
|
5
|
+
# Executable specified as raw bytes that represent Wasm code and an instance of RuntimeArgs.
|
5
6
|
class ModuleBytes < DeployExecutableItemInternal
|
6
7
|
|
7
8
|
# @param [String] module_bytes
|
data/lib/entity/peer.rb
CHANGED
@@ -2,6 +2,7 @@ require_relative './deploy_executable_item_internal.rb'
|
|
2
2
|
|
3
3
|
module Casper
|
4
4
|
module Entity
|
5
|
+
# Stored contract referenced by its ContractHash, entry point and an instance of RuntimeArgs.
|
5
6
|
class StoredContractByHash < DeployExecutableItemInternal
|
6
7
|
|
7
8
|
# @param [String] hash
|
@@ -2,6 +2,7 @@ require_relative './deploy_executable_item_internal.rb'
|
|
2
2
|
|
3
3
|
module Casper
|
4
4
|
module Entity
|
5
|
+
# Stored contract referenced by a named key existing in the signer's Account context, entry point and an instance of RuntimeArgs.
|
5
6
|
class StoredContractByName < DeployExecutableItemInternal
|
6
7
|
|
7
8
|
# @param [String] name
|
@@ -2,6 +2,7 @@ require_relative './deploy_executable_item_internal.rb'
|
|
2
2
|
|
3
3
|
module Casper
|
4
4
|
module Entity
|
5
|
+
# Stored versioned contract referenced by its ContractPackageHash, entry point and an instance of RuntimeArgs.
|
5
6
|
class StoredVersionedContractByHash < DeployExecutableItemInternal
|
6
7
|
|
7
8
|
# @param [String] hash
|
@@ -2,6 +2,8 @@ require_relative './deploy_executable_item_internal.rb'
|
|
2
2
|
|
3
3
|
module Casper
|
4
4
|
module Entity
|
5
|
+
# Stored versioned contract referenced by a named key existing in the signer's Account context,
|
6
|
+
# entry point and an instance of RuntimeArgs.
|
5
7
|
class StoredVersionedContractByName < DeployExecutableItemInternal
|
6
8
|
|
7
9
|
# @param [String] name
|
data/lib/entity/transfer.rb
CHANGED
data/lib/rpc/rpc_client.rb
CHANGED
@@ -8,8 +8,9 @@ require 'active_support/core_ext/hash/keys'
|
|
8
8
|
require 'timeout'
|
9
9
|
require 'net/http'
|
10
10
|
require_relative './rpc_error.rb'
|
11
|
-
|
11
|
+
|
12
12
|
module Casper
|
13
|
+
# Class for interacting with the network via RPC
|
13
14
|
class RpcClient
|
14
15
|
attr_accessor :ip_address, :port, :url, :state_root_hash
|
15
16
|
|
data/lib/rpc/rpc_error.rb
CHANGED
data/lib/test_sdk1.rb
CHANGED
data/lib/types/cl_type.rb
CHANGED
data/lib/types/cl_value.rb
CHANGED
data/lib/version.rb
CHANGED