Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
julpar committed Nov 22, 2022
1 parent b989442 commit 5e2cd00
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion protocol/contracts/trucoV1/CastillianDeck.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Example:
- Card ID 19 is Knight of Cups
- Card ID 21 is Ace of Swords
*/
contract CastillianDeck is ICardsDeck {
contract CastilianDeck is ICardsDeck {
uint8 public constant maskedCardId = 0;

uint8 public constant numberOfCards = 40;
Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/trucoV1/resolvers/TrucoResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ contract TrucoResolver is Initializable, OwnableUpgradeable {
return i;
}

// @dev Card Hierarchy for Castillian Suited Card Deck, see CastillianDeck.sol (IDeck impl) for deck card definition
// @dev Card Hierarchy for Castillian Suited Card Deck, see CastilianDeck.sol (IDeck impl) for deck card definition
function _getCardsHierarchy() internal pure returns (uint8[41] memory) {
/*
// Generation Code
Expand Down
2 changes: 1 addition & 1 deletion protocol/scripts/helpers/deck-deploy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ethers } from 'hardhat'

export async function deployDeckContract() {
const CardsDeck = await ethers.getContractFactory('CastillianDeck')
const CardsDeck = await ethers.getContractFactory('CastilianDeck')
const cardsDeck = await CardsDeck.deploy()

return { cardsDeck }
Expand Down
2 changes: 1 addition & 1 deletion protocol/test/basic-game-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import GameStateStruct = IERC3333.GameStateStruct
// Must replicate IERC3333.initialGameState() initial state
export function basicGameState(): GameStateStruct {
const defaultPlayerId = BigNumber.from(0)
const maskedCard = BigNumber.from(0) // see ICardsDeck impl: CastillianDeck.sol
const maskedCard = BigNumber.from(0) // see ICardsDeck impl: CastilianDeck.sol

return {
playerTurn: BigNumber.from(defaultPlayerId),
Expand Down
2 changes: 1 addition & 1 deletion protocol/test/deploy-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { deployTrucoResolverContract } from '../scripts/helpers/truco-resolver-d
import { deployTrucoinContract } from '../scripts/helpers/trucoin-deploy'

export async function deployDeckContract() {
const CardsDeck = await ethers.getContractFactory('CastillianDeck')
const CardsDeck = await ethers.getContractFactory('CastilianDeck')
const cardsDeck = await CardsDeck.deploy()

return { cardsDeck }
Expand Down
2 changes: 1 addition & 1 deletion protocol/test/trucoV1/deck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BigNumber } from 'ethers'

describe('Deck logic', function () {
async function deployContract() {
const CardsDeck = await ethers.getContractFactory('CastillianDeck')
const CardsDeck = await ethers.getContractFactory('CastilianDeck')
const sut = await CardsDeck.deploy()

return { sut }
Expand Down

0 comments on commit 5e2cd00

Please sign in to comment.