Skip to content
Open
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
1 change: 0 additions & 1 deletion docker/orchestrator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ RUN rm -rf build \
-D BUILD_BINARY:BOOL=ON \
-D CMAKE_BUILD_TYPE=Release \
-D ENABLE_AVX512=OFF \
-D ONLY_LOGGING=ON \
&& cmake --build . --target Qubic -- -j$(nproc)

# Collect build outputs into a common location
Expand Down
1 change: 1 addition & 0 deletions src/Qubic.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<ClInclude Include="contracts\Qusino.h" />
<ClInclude Include="contracts\QReservePool.h" />
<ClInclude Include="contracts\QThirtyFour.h" />
<ClInclude Include="contracts\QubicSolanaBridge.h" />
<ClInclude Include="contracts\Pulse.h" />
<ClInclude Include="contracts\Escrow.h" />
<ClInclude Include="contracts\TestExampleA.h" />
Expand Down
4 changes: 4 additions & 0 deletions src/Qubic.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@
<ClInclude Include="contracts\QDuel.h">
<Filter>contracts</Filter>
</ClInclude>

<ClInclude Include="contracts\QubicSolanaBridge.h">
<Filter>contracts</Filter>
</ClInclude>
<ClInclude Include="contracts\Pulse.h">
<Filter>contracts</Filter>
</ClInclude>
Expand Down
12 changes: 12 additions & 0 deletions src/contract_core/contract_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,16 @@
#define CONTRACT_STATE2_TYPE ESCROW2
#include "contracts/Escrow.h"

#undef CONTRACT_INDEX
#undef CONTRACT_STATE_TYPE
#undef CONTRACT_STATE2_TYPE

#define QSB_CONTRACT_INDEX 28
#define CONTRACT_INDEX QSB_CONTRACT_INDEX
#define CONTRACT_STATE_TYPE QSB
#define CONTRACT_STATE2_TYPE QSB2
#include "contracts/QubicSolanaBridge.h"

// new contracts should be added above this line

#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
Expand Down Expand Up @@ -398,6 +408,7 @@ constexpr struct ContractDescription
{"VOTTUN", 206, 10000, sizeof(VOTTUNBRIDGE::StateData)}, // proposal in epoch 204, IPO in 205, construction and first use in 206
{"QUSINO", 208, 10000, sizeof(QUSINO::StateData)}, // proposal in epoch 206, IPO in 207, construction and first use in 208
{"ESCROW", 210, 10000, sizeof(ESCROW::StateData)}, // proposal in epoch 208, IPO in 209, construction and first use in 210
{"QSB", 212, 10000, sizeof(QSB::StateData)}, // local testnet: constructionEpoch <= testnet epoch to skip IPO
// new contracts should be added above this line
#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
{"TESTEXA", 138, 10000, sizeof(TESTEXA::StateData)},
Expand Down Expand Up @@ -521,6 +532,7 @@ static void initializeContracts()
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(VOTTUNBRIDGE);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QUSINO);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(ESCROW);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QSB);
// new contracts should be added above this line
#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(TESTEXA);
Expand Down
Loading