Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: few typo fix #347

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion contracts/solidity/emergency/StarknetValidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ contract StarknetValidator is TypeAndVersionInterface, AggregatorValidatorInterf

/**
* @notice retries to send the latest answer as update message to L2
* @dev only with access, useful in cases where a previous x-domain message was handeled unsuccessfully.
* @dev only with access, useful in cases where a previous x-domain message was handled unsuccessfully.
*/
function retry() external checkAccess returns (bool) {
(, int256 latestAnswer, , , ) = AggregatorV3Interface(s_source).latestRoundData();
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/tests/test_sequencer_uptime_feed.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn setup() -> (ContractAddress, ContractAddress, ISequencerUptimeFeedDispatcher)
let account: ContractAddress = contract_address_const::<777>();
set_caller_address(account);

// Deploy seqeuencer uptime feed
// Deploy sequencer uptime feed
let calldata = array![0, // initial status
account.into() // owner
];
Expand Down
4 changes: 2 additions & 2 deletions contracts/test/ocr2/aggregator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('Aggregator', function () {
config_digest = response[2]
console.log(`Config digest: 0x${config_digest.toString(16)}`)

// Immitate the fetch done by relay to confirm latest_config_details_works
// Imitate the fetch done by relay to confirm latest_config_details_works
let block = await starknet.getBlock({ blockNumber: response.block_number })
let events = block.transaction_receipts[0].events

Expand Down Expand Up @@ -273,7 +273,7 @@ describe('Aggregator', function () {
// set up payees
let payees = oracles.map((oracle) => ({
transmitter: oracle.transmitter.starknetContract.address,
payee: oracle.transmitter.starknetContract.address, // reusing transmitter acocunts as payees for simplicity
payee: oracle.transmitter.starknetContract.address, // reusing transmitter accounts as payees for simplicity
}))
await owner.invoke(aggregator, 'set_payees', { payees })

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface IStarknetMessaging is IStarknetMessagingEvents {

/**
Sends a message to an L2 contract.
This function is payable, the payed amount is the message fee.
This function is payable, the paid amount is the message fee.

Returns the hash of the message and the nonce of the message.
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ and [here](../../integration-tests/soak/soak_runner_test.go)
8. Deploy L2 OCR2 contract via Gauntlet
9. Set OCR2 billing via Gauntlet
10. Set OCR2 config details via Gauntlet
11. Set up boostrap and oracle nodes
11. Set up bootstrap and oracle nodes

### Metrics and logs (K8)

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (c *Common) CreateKeys(env *environment.Environment) ([]client.NodeKeysBund
return NKeys, chainlinkK8Nodes, nil
}

// CreateJobsForContract Creates and sets up the boostrap jobs as well as OCR jobs
// CreateJobsForContract Creates and sets up the bootstrap jobs as well as OCR jobs
func (c *Common) CreateJobsForContract(cc *ChainlinkClient, observationSource string, juelsPerFeeCoinSource string, ocrControllerAddress string, accountAddresses []string) error {
// Define node[0] as bootstrap node
cc.bootstrapPeers = []client.P2PData{
Expand Down