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
6 changes: 3 additions & 3 deletions frontend/scripts/contract-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import fs from 'node:fs';

ncp.limit = 16;
const source = path.resolve('../examples');
const destionation = path.resolve('./src/assets/examples');
if (existsSync(destionation)) {
const destination = path.resolve('./src/assets/examples');
if (existsSync(destination)) {
console.log('Contract Examples already exists');
fs.rmSync(destionation, { recursive: true, force: true });
fs.rmSync(destination, { recursive: true, force: true });
}

ncp(source, destionation,
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/JsonViewer/json-box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
};
},
mounted() {
// not used becase we want to control the expand from the main props
// not used because we want to control the expand from the main props
// this.expand = this.previewMode || (this.depth >= this.expandDepth ? false : true);
},
methods: {
Expand All @@ -54,7 +54,7 @@ export default {
render() {
let elements = [];
let dataType;
// We have to check if it's a complex type or not and assing a type
// We have to check if it's a complex type or not and assign a type
// the dataType is used to know which component to render as a child
if (this.value === null || this.value === undefined) {
dataType = JsonUndefined;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/hooks/useWebSocketClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function useWebSocketClient() {
});

webSocketClient.on('disconnect', () => {
console.log('webSocketClient.disconnnect', webSocketClient?.id);
console.log('webSocketClient.disconnect', webSocketClient?.id);
});

return webSocketClient;
Expand Down
2 changes: 1 addition & 1 deletion frontend/test/unit/hooks/useWebSocketClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('useWebSocketClient', () => {
disconnectCallback();
}
expect(consoleLogSpy).toHaveBeenCalledWith(
'webSocketClient.disconnnect',
'webSocketClient.disconnect',
'mocked-socket-id',
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def evaluate_single_source() -> str:
def evaluate_all_sources() -> str:
task = f"""
You are an AI Validator tasked with resolving a prediction market Oracle. Your goal is to determine
the correct outcome based on processed data from all of the individial data sources. Here are your inputs
the correct outcome based on processed data from all of the individual data sources. Here are your inputs

### Inputs
<title>
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/icontracts/ideas.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ secondary consumer contracts would plug into the "chainlink" contract to consume
## Lottery

would require allowance
stardard ERC20
standard ERC20

## Proxy for upgrades

Expand Down