bonjour, erreur dans un test avec "currentPlayer" qui est défini dans le contrat "  address internal currentPlayer;". la fonction "proposeLetter" appelle la fonction "proposeWord" qui a pour parametre "currentPlayer".  dans la fonction "proposeLetter" , elle fait appel à la fonction "getActivePlayer" qui renvoie le player actif "function getActivePlayer(uint256 _gameId) public view returns (address) {
        if (games[_gameId].isPlayer2Turn == true) {
            return games[_gameId].player2; 
        } else {
            return games[_gameId].player1;
        }
    }" fonction "proposeLetter" : "function proposeLetter(uint256 _gameId, string memory _letterToGuess, string memory _wordToGuess) public {
        require(_gameId != 0, "Bad ID");
        require(state == State.firstLetter, "no first letter");
        currentPlayer = getActivePlayer(_gameId);
        require(playerBalances[_gameId][msg.sender].balance > 0, "you didn't bet");
        require(bytes(_letterToGuess).length == 1, "a single letter");
        string memory letterFiltered = filteredLetter(_letterToGuess);
        checkLetterWin(_gameId, letterFiltered);
        updateStateInProgress();
        proposeWord(_gameId, _wordToGuess, currentPlayer);
    }" fonction "proposeWord" : "function proposeWord(uint256 _gameId, string memory _wordToGuess, address _currentPlayer) public {
        require(state == State.inProgress, "Bad State");
        if (isWordCorrect(_wordToGuess)) {
            string memory filteredWord = wordFiltered(_wordToGuess);
            emit WordWin(_gameId, games[_gameId].player1, games[_gameId].player2, filteredWord);
            state = State.finished;
            emit GameFinished(_gameId, _currentPlayer);
            winner = _currentPlayer;
            addBetToPlayer(_currentPlayer);
        } else {
            currentWord = _wordToGuess;
            playersSwitched(_gameId);
            emit WordGuessed(_gameId, games[_gameId].player1, games[_gameId].player2, _wordToGuess);
        }
    }" le test revert "Error: VM Exception while processing transaction: revert players not defined -- Reason given: players not defined. à la ligne "  await penduelInstance.proposeWord(gameId, wordToGuess, currentPlayer);
" le test " it("doit permettre à un joueur de proposer un mot correct et gagner", async () => {
                const gameId = 1;
                const wordToGuess = "immuable";
                const requestId = 1;
                const randomWords = [9]; 
                await penduelInstance.initWordList();
                await penduelInstance.getFulfillRandomWords(requestId, randomWords); 
                await penduelInstance.updateStateInProgress();
                const currentPlayer = player2;
                await penduelInstance.proposeWord(gameId, wordToGuess, currentPlayer);
 
                const winEvent = await penduelInstance.getPastEvents("WordWin", { fromBlock: 0 });
                assert.equal(winEvent.length, 1, "L'événement WordWin n'a pas été émis.");
                const gameState = await penduelInstance.state(gameId);
                assert.equal(gameState, "finished", "L'état du jeu n'est pas terminé.");
                const playerBalance = await penduelInstance.getPlayerBalance(gameId, player1);
                assert.equal(playerBalance, 1, "Le joueur gagnant n'a pas reçu la mise.");
            });" pourquoi ai je cette erreur, revert players not defined ?