Skip to content

Commit

Permalink
Migrate functions to deno
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Dec 16, 2023
1 parent c7e9999 commit 56f8121
Show file tree
Hide file tree
Showing 83 changed files with 4,661 additions and 3,649 deletions.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"volar.inlayHints.eventArgumentInInlineHandlers": false
"volar.inlayHints.eventArgumentInInlineHandlers": false,
"deno.enable": true,
"deno.enablePaths": [
"./services/functions/request/scripts",
"./services/functions/request/src"
]
}
2 changes: 1 addition & 1 deletion contracts/ethereum/scripts/deploy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ethers, upgrades } from "hardhat"
import requestConfig from "@casimir/functions/Functions-request-config"
import requestConfig from "@casimir/functions/request/config"
import { CasimirFactory, CasimirUpkeep } from "../build/@types"

upgrades.silenceWarnings()
Expand Down
2 changes: 1 addition & 1 deletion contracts/ethereum/scripts/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { updateValidatorsHandler } from "../helpers/oracle"
import { POOL_STATUS } from "@casimir/env"
import { run } from "@casimir/shell"
import { waitForNetwork } from "../helpers/network"
import requestConfig from "@casimir/functions/Functions-request-config"
import requestConfig from "@casimir/functions/request/config"
import { CasimirFactory, CasimirManager, CasimirRegistry, CasimirUpkeep, CasimirViews, FunctionsBillingRegistry, FunctionsOracle } from "../build/@types"
import { Config } from "../helpers/config"

Expand Down
2 changes: 1 addition & 1 deletion contracts/ethereum/test/fixtures/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fulfillReport, runUpkeep } from "../../helpers/upkeep"
import { updateValidatorsHandler, fundAccountsHandler, initiateValidatorHandler, withdrawValidatorsHandler } from "../../helpers/oracle"
import { round } from "../../helpers/math"
import ISSVViewsAbi from "../../build/abi/ISSVViews.json"
import requestConfig from "@casimir/functions/Functions-request-config"
import requestConfig from "@casimir/functions/request/config"
import { Config } from "../../helpers/config"

upgrades.silenceWarnings()
Expand Down
Loading

0 comments on commit 56f8121

Please sign in to comment.