Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
Release 1.0.0.1006 (#51)
Browse files Browse the repository at this point in the history
* Replaced Kovan with Goerli (#33)
  • Loading branch information
BishopJohnson committed Jul 5, 2022
1 parent 2779d41 commit f85bef6
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 20 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [1.0.0.1006] - 2022-07-05

### Added

- Added `GOERLI` to `EnjinHosts.hpp`.

### Removed

- Removed `KOVAN` from `EnjinHosts.hpp`.

## [1.0.0.1005] - 2022-05-23

### Added
Expand Down Expand Up @@ -78,7 +88,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Initial alpha release.

[Unreleased]: https://github.com/enjin/enjin-cpp-sdk/compare/1.0.0.1005...HEAD
[Unreleased]: https://github.com/enjin/enjin-cpp-sdk/compare/1.0.0.1006...HEAD

[1.0.0.1006]: https://github.com/enjin/enjin-cpp-sdk/compare/1.0.0.1005...1.0.0.1006

[1.0.0.1005]: https://github.com/enjin/enjin-cpp-sdk/compare/1.0.0.1004...1.0.0.1005

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(GenerateExportHeader)
### Define project and set properties
project(enjinsdk
LANGUAGES CXX
VERSION 1.0.0.1005)
VERSION 1.0.0.1006)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
Expand Down
2 changes: 1 addition & 1 deletion DOXYFILE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "Enjin C++ SDK"
PROJECT_NUMBER = 1.0.0.1005
PROJECT_NUMBER = 1.0.0.1006
PROJECT_BRIEF = "A C++ SDK for creating games using the Enjin blockchain platform."
PROJECT_LOGO = doxygenIcon.png
OUTPUT_DIRECTORY =
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create blockchain video games and applications using the C++ programming languag

[Learn more](https://enjin.io/) about the Enjin blockchain platform.

Sign up to Enjin Cloud: [Kovan (Testnet)](https://kovan.cloud.enjin.io/),
Sign up to Enjin Cloud: [Goerli (Testnet)](https://goerli.cloud.enjin.io/),
[Mainnet (Production)](https://cloud.enjin.io/) or [JumpNet](https://jumpnet.cloud.enjin.io/).

### Resources
Expand Down Expand Up @@ -117,10 +117,10 @@ using namespace enjin::sdk::models;
using namespace enjin::sdk::project;

int main() {
// Builds the project client to run on the Kovan test network.
// See: https://kovan.cloud.enjin.io to sign up for the test network.
// Builds the project client to run on the Goerli test network.
// See: https://goerli.cloud.enjin.io to sign up for the test network.
std::unique_ptr<ProjectClient> client = ProjectClientBuilder()
.base_uri(KOVAN) // From EnjinHosts
.base_uri(GOERLI) // From EnjinHosts
.build();

// Creates the request to authenticate the client.
Expand Down
8 changes: 4 additions & 4 deletions include/enjinsdk/EnjinHosts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

namespace enjin::sdk {

/// \brief The URI for the kovan Enjin Cloud.
static constexpr char KOVAN[] = "https://kovan.cloud.enjin.io";
/// \brief The URI for the Enjin Platform on the Goerli test network.
static constexpr char GOERLI[] = "https://goerli.cloud.enjin.io";

/// \brief The URI for the main Enjin Cloud.
/// \brief The URI for the Enjin Platform on the main network.
static constexpr char MAIN_NET[] = "https://cloud.enjin.io";

/// \brief The URI for the JumpNet network.
/// \brief The URI for the Enjin Platform on the JumpNet network.
static constexpr char JUMP_NET[] = "https://jumpnet.cloud.enjin.io";

}
Expand Down
2 changes: 1 addition & 1 deletion test/include/ChannelsTestSuite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace enjin::test::suites {

class ChannelsTestSuite {
public:
constexpr static char PLATFORM_JSON[] = R"({"id":1,"name":"","network":"kovan","contracts":{},"notifications":{}})";
constexpr static char PLATFORM_JSON[] = R"({"id":1,"name":"","network":"test","contracts":{},"notifications":{}})";

static enjin::sdk::models::Platform create_default_platform() {
enjin::sdk::models::Platform platform;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/events/AssetChannelTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AssetChannelTest : public ChannelsTestSuite,

TEST_F(AssetChannelTest, ChannelReturnsExpectedString) {
// Arrange
const std::string expected("enjincloud.kovan.asset.1");
const std::string expected("enjincloud.test.asset.1");
AssetChannel channel(create_default_platform(), "1");

// Act
Expand Down
4 changes: 2 additions & 2 deletions test/unit/events/EventTypeDefTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@ INSTANTIATE_TEST_SUITE_P(DefNotInTypesTestCases,
INSTANTIATE_TEST_SUITE_P(FilterByChannelTypesTestCases,
EventTypeDefFilterByChannelTypes,
testing::Values("player",
"enjincloud.kovan.wallet.0x0",
"enjincloud.mainnet.project.1234",
"enjincloud.test.wallet.0x0",
"enjincloud.test.project.1234",
"xyz"));
2 changes: 1 addition & 1 deletion test/unit/events/PlayerChannelTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PlayerChannelTest : public ChannelsTestSuite,

TEST_F(PlayerChannelTest, ChannelReturnsExpectedString) {
// Arrange
const std::string expected("enjincloud.kovan.project.1.player.1");
const std::string expected("enjincloud.test.project.1.player.1");
PlayerChannel channel(create_default_platform(), "1", "1");

// Act
Expand Down
2 changes: 1 addition & 1 deletion test/unit/events/ProjectChannelTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ProjectChannelTest : public ChannelsTestSuite,

TEST_F(ProjectChannelTest, ChannelReturnsExpectedString) {
// Arrange
const std::string expected("enjincloud.kovan.project.1");
const std::string expected("enjincloud.test.project.1");
ProjectChannel channel(create_default_platform(), "1");

// Act
Expand Down
2 changes: 1 addition & 1 deletion test/unit/events/PusherEventServiceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using namespace enjin::test::mocks;
class PusherEventServiceTest : public testing::Test {
public:
static constexpr char PLATFORM_JSON[] =
R"({"network":"kovan","notifications":{"pusher":{"key":"1","options":{"cluster":"mt1","encrypted":true}}}})";
R"({"network":"test","notifications":{"pusher":{"key":"1","options":{"cluster":"mt1","encrypted":true}}}})";

static constexpr EventType EVENT_TYPES[] = {
EventType::UNKNOWN,
Expand Down
2 changes: 1 addition & 1 deletion test/unit/events/PusherEventServiceWebsocketTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PusherEventServiceWebsocketTest : public VerificationTestSuite,
static constexpr char DEFAULT_ASSET[] = "0x0";
static constexpr char DEFAULT_WALLET[] = "0x1";
static constexpr char PLATFORM_JSON[] =
R"({"network":"kovan","notifications":{"pusher":{"key":"1","options":{"cluster":"mt1","encrypted":true}}}})";
R"({"network":"test","notifications":{"pusher":{"key":"1","options":{"cluster":"mt1","encrypted":true}}}})";

MockWebsocketServer mock_server;

Expand Down
2 changes: 1 addition & 1 deletion test/unit/events/WalletChannelTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class WalletChannelTest : public ChannelsTestSuite,

TEST_F(WalletChannelTest, ChannelReturnsExpectedString) {
// Arrange
const std::string expected("enjincloud.kovan.wallet.1");
const std::string expected("enjincloud.test.wallet.1");
WalletChannel channel(create_default_platform(), "1");

// Act
Expand Down

0 comments on commit f85bef6

Please sign in to comment.