Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
package com.strategyobject.substrateclient.api.pallet.balances;
package com.strategyobject.substrateclient.rpc.api;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;

import com.strategyobject.substrateclient.common.convert.HexConverter;
import com.strategyobject.substrateclient.rpc.api.ImmortalEra;
import com.strategyobject.substrateclient.rpc.api.SignedAdditionalExtra;
import com.strategyobject.substrateclient.rpc.api.SignedExtra;
import com.strategyobject.substrateclient.rpc.api.primitives.BlockHash;
import com.strategyobject.substrateclient.rpc.api.primitives.Hash256;
import com.strategyobject.substrateclient.rpc.api.primitives.Index;
Expand Down Expand Up @@ -39,7 +36,7 @@ void setUp() {
*
* @param includeMetadataHash whether to include metadata hash in the SignedExtra
* @param expectedHash the expected hex output of the SCALE data
* @throws Exception if an error occurs during serialization
* @throws ExBalancesTestception if an error occurs during serialization
*/
@ParameterizedTest
@CsvSource({ "false,0x000000", "true,0x00000000" })
Expand Down Expand Up @@ -69,8 +66,8 @@ void testSignedExtra(boolean includeMetadataHash, String expectedHash) throws Ex
@ParameterizedTest
@CsvSource(
{
"false,0x8d0000000100000077000000000000000000000000000000000000000000000000000000000000777700000000000000000000000000000000000000000000000000000000000077",
"true,0x8d000000010000007700000000000000000000000000000000000000000000000000000000000077770000000000000000000000000000000000000000000000000000000000007700",
"false,0x970000000100000077000000000000000000000000000000000000000000000000000000000000777700000000000000000000000000000000000000000000000000000000000077",
"true,0x97000000010000007700000000000000000000000000000000000000000000000000000000000077770000000000000000000000000000000000000000000000000000000000007700",
}
)
void testSignedExtraAdditional(boolean includeMetadataHash, String expectedHash) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.strategyobject.substrateclient.tests.containers;

public class FrequencyVersion {
public static final String CURRENT_VERSION = "v1.15.3";
public static final Long SPEC = 141L;
public static final String CURRENT_VERSION = "v1.16.0";
public static final Long SPEC = 151L;

private FrequencyVersion() {
}
Expand Down
Loading