Skip to content

Commit

Permalink
Begin using CelestiaDASClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Jun 25, 2024
1 parent fbf5bba commit f101345
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 771 deletions.
4 changes: 2 additions & 2 deletions arbnode/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type Config struct {
ResourceMgmt resourcemanager.Config `koanf:"resource-mgmt" reload:"hot"`
// SnapSyncConfig is only used for testing purposes, these should not be configured in production.
SnapSyncTest SnapSyncConfig
Celestia celestia.DAConfig `koanf:"celestia-cfg"`
Celestia celestia.CelestiaConfig `koanf:"celestia-cfg"`
}

func (c *Config) Validate() error {
Expand Down Expand Up @@ -555,7 +555,7 @@ func createNodeImpl(
}

if config.Celestia.Enable {
celestiaService, err := celestia.NewCelestiaDA(&config.Celestia, nil)
celestiaService, err := celestia.NewCelestiaDASRPCClient(config.Celestia.URL)
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion contracts
Submodule contracts updated 56 files
+0 −48 .github/workflows/audit-ci.yml
+0 −24 .github/workflows/slither.yml
+0 −1 .prettierignore
+0 −52 audit-ci.jsonc
+4 −10 foundry.toml
+1 −1 lib/blobstream-contracts
+6 −12 package.json
+263 −0 patches/@nomiclabs+hardhat-etherscan+3.1.0.patch
+1 −2 scripts/config.ts.example
+1 −11 scripts/createERC20Rollup.ts
+1 −10 scripts/createEthRollup.ts
+1 −6 scripts/deployment.ts
+50 −108 scripts/deploymentUtils.ts
+0 −117 scripts/local-deployment/deployCreatorAndCreateRollup.ts
+48 −221 scripts/rollupCreation.ts
+0 −7 slither.config.json
+0 −13,099 slither.db.json
+6 −0 src/bridge/SequencerInbox.sol
+0 −208 src/chain/CacheManager.sol
+45 −0 src/challenge/ChallengeLib.sol
+9 −24 src/challenge/ChallengeManager.sol
+0 −13 src/challenge/IChallengeManager.sol
+0 −52 src/mocks/Benchmarks.sol
+0 −117 src/mocks/MultiCallTest.sol
+0 −126 src/mocks/Program.sol
+0 −176 src/mocks/SdkStorage.sol
+0 −22 src/mocks/SimpleCacheManager.sol
+0 −10 src/osp/IOneStepProofEntry.sol
+7 −81 src/osp/OneStepProofEntry.sol
+20 −64 src/osp/OneStepProver0.sol
+2 −197 src/osp/OneStepProverHostIo.sol
+33 −4 src/osp/OneStepProverMemory.sol
+0 −2 src/precompiles/ArbDebug.sol
+9 −51 src/precompiles/ArbOwner.sol
+0 −119 src/precompiles/ArbWasm.sol
+0 −33 src/precompiles/ArbWasmCache.sol
+47 −88 src/state/Deserialize.sol
+3 −38 src/state/Instructions.sol
+15 −92 src/state/Machine.sol
+4 −22 src/state/MerkleProof.sol
+1 −3 src/state/Module.sol
+0 −54 src/state/ModuleMemory.sol
+0 −58 src/state/MultiStack.sol
+1 −6 src/state/StackFrame.sol
+1 −13 src/state/Value.sol
+1 −6 src/state/ValueStack.sol
+13 −11 test/contract/arbRollup.spec.ts
+6 −4 test/contract/sequencerInboxForceInclude.spec.ts
+8 −12 test/contract/validatorWallet.spec.ts
+0 −167 test/foundry/CacheManager.t.sol
+10 −107 test/foundry/ChallengeManager.t.sol
+1 −3 test/signatures/ChallengeManager
+0 −9 test/signatures/OneStepProofEntry
+1 −1 test/signatures/test-sigs.bash
+0 −1 test/storage/ChallengeManager
+4,584 −951 yarn.lock
Loading

0 comments on commit f101345

Please sign in to comment.